Text Generation
Transformers
Safetensors
English
llama
Generated from Trainer
finance
Eval Results (legacy)
text-generation-inference
Instructions to use gradientai/v-alpha-tross with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use gradientai/v-alpha-tross with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="gradientai/v-alpha-tross")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("gradientai/v-alpha-tross") model = AutoModelForCausalLM.from_pretrained("gradientai/v-alpha-tross", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use gradientai/v-alpha-tross with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "gradientai/v-alpha-tross" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "gradientai/v-alpha-tross", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/gradientai/v-alpha-tross
- SGLang
How to use gradientai/v-alpha-tross with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "gradientai/v-alpha-tross" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "gradientai/v-alpha-tross", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "gradientai/v-alpha-tross" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "gradientai/v-alpha-tross", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use gradientai/v-alpha-tross with Docker Model Runner:
docker model run hf.co/gradientai/v-alpha-tross
Update README.md
Browse files
README.md
CHANGED
|
@@ -4,7 +4,79 @@ tags:
|
|
| 4 |
- finance
|
| 5 |
model-index:
|
| 6 |
- name: completed-model
|
| 7 |
-
results:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 8 |
license: llama2
|
| 9 |
language:
|
| 10 |
- en
|
|
|
|
| 4 |
- finance
|
| 5 |
model-index:
|
| 6 |
- name: completed-model
|
| 7 |
+
results:
|
| 8 |
+
- task:
|
| 9 |
+
type: text-generation
|
| 10 |
+
dataset:
|
| 11 |
+
name: ai2_arc
|
| 12 |
+
type: ai2_arc
|
| 13 |
+
metrics:
|
| 14 |
+
- name: AI2 Reasoning Challenge (25-Shot)
|
| 15 |
+
type: AI2 Reasoning Challenge (25-Shot)
|
| 16 |
+
value: 71.93
|
| 17 |
+
source:
|
| 18 |
+
name: Open LLM Leaderboard
|
| 19 |
+
url: https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard
|
| 20 |
+
- task:
|
| 21 |
+
type: text-generation
|
| 22 |
+
dataset:
|
| 23 |
+
name: hellaswag
|
| 24 |
+
type: hellaswag
|
| 25 |
+
metrics:
|
| 26 |
+
- name: HellaSwag (10-shot)
|
| 27 |
+
type: HellaSwag (10-shot)
|
| 28 |
+
value: 86.82
|
| 29 |
+
source:
|
| 30 |
+
name: Open LLM Leaderboard
|
| 31 |
+
url: https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard
|
| 32 |
+
- task:
|
| 33 |
+
type: text-generation
|
| 34 |
+
dataset:
|
| 35 |
+
name: multiple
|
| 36 |
+
type: miltiple
|
| 37 |
+
metrics:
|
| 38 |
+
- name: MMLU (5-shot)
|
| 39 |
+
type: MMLU (5-shot)
|
| 40 |
+
value: 70.38
|
| 41 |
+
source:
|
| 42 |
+
name: Open LLM Leaderboard
|
| 43 |
+
url: https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard
|
| 44 |
+
- task:
|
| 45 |
+
type: text-generation
|
| 46 |
+
dataset:
|
| 47 |
+
name: truthful_qa
|
| 48 |
+
type: truthful_qa
|
| 49 |
+
metrics:
|
| 50 |
+
- name: TruthfulQA (0-shot)
|
| 51 |
+
type: TruthfulQA (0-shot)
|
| 52 |
+
value: 65.21
|
| 53 |
+
source:
|
| 54 |
+
name: Open LLM Leaderboard
|
| 55 |
+
url: https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard
|
| 56 |
+
- task:
|
| 57 |
+
type: text-generation
|
| 58 |
+
dataset:
|
| 59 |
+
name: winogrande
|
| 60 |
+
type: winogrande
|
| 61 |
+
metrics:
|
| 62 |
+
- name: Winogrande (5-shot)
|
| 63 |
+
type: Winogrande (5-shot)
|
| 64 |
+
value: 83.58
|
| 65 |
+
source:
|
| 66 |
+
name: Open LLM Leaderboard
|
| 67 |
+
url: https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard
|
| 68 |
+
- task:
|
| 69 |
+
type: text-generation
|
| 70 |
+
dataset:
|
| 71 |
+
name: gsm8k
|
| 72 |
+
type: gsm8k
|
| 73 |
+
metrics:
|
| 74 |
+
- name: GSM8k (5-shot)
|
| 75 |
+
type: GSM8k (5-shot)
|
| 76 |
+
value: 61.79
|
| 77 |
+
source:
|
| 78 |
+
name: Open LLM Leaderboard
|
| 79 |
+
url: https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard
|
| 80 |
license: llama2
|
| 81 |
language:
|
| 82 |
- en
|