Text Generation
Transformers
TensorBoard
Safetensors
llama
Generated from Trainer
text-generation-inference
Instructions to use Grogros/Grogros-llama2-7b-GaussMark-OpenMathInstruct with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Grogros/Grogros-llama2-7b-GaussMark-OpenMathInstruct with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="Grogros/Grogros-llama2-7b-GaussMark-OpenMathInstruct")# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("Grogros/Grogros-llama2-7b-GaussMark-OpenMathInstruct") model = AutoModelForCausalLM.from_pretrained("Grogros/Grogros-llama2-7b-GaussMark-OpenMathInstruct") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use Grogros/Grogros-llama2-7b-GaussMark-OpenMathInstruct with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Grogros/Grogros-llama2-7b-GaussMark-OpenMathInstruct" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Grogros/Grogros-llama2-7b-GaussMark-OpenMathInstruct", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/Grogros/Grogros-llama2-7b-GaussMark-OpenMathInstruct
- SGLang
How to use Grogros/Grogros-llama2-7b-GaussMark-OpenMathInstruct 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 "Grogros/Grogros-llama2-7b-GaussMark-OpenMathInstruct" \ --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": "Grogros/Grogros-llama2-7b-GaussMark-OpenMathInstruct", "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 "Grogros/Grogros-llama2-7b-GaussMark-OpenMathInstruct" \ --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": "Grogros/Grogros-llama2-7b-GaussMark-OpenMathInstruct", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use Grogros/Grogros-llama2-7b-GaussMark-OpenMathInstruct with Docker Model Runner:
docker model run hf.co/Grogros/Grogros-llama2-7b-GaussMark-OpenMathInstruct
Training in progress, step 2500
Browse files- model-00001-of-00006.safetensors +1 -1
- model-00002-of-00006.safetensors +1 -1
- model-00003-of-00006.safetensors +1 -1
- model-00004-of-00006.safetensors +1 -1
- model-00005-of-00006.safetensors +1 -1
- model-00006-of-00006.safetensors +1 -1
- runs/Feb05_21-50-45_209-20-157-17/events.out.tfevents.1738792272.209-20-157-17.61816.0 +2 -2
model-00001-of-00006.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 4840494720
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:01a480e9b07e49cecdbad2cdc1d0b0a5a951e711244ba7e2e1efbf90445004e1
|
| 3 |
size 4840494720
|
model-00002-of-00006.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 4857206856
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5da2eae6c1150aba32adef3d9089ab8286cd6263e1e5f9c39ef2eb10e2764adc
|
| 3 |
size 4857206856
|
model-00003-of-00006.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 4857206904
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0ee1df92aea4588545066b46290ff5aba3da9c34a9aca87244be8e54efbad3f0
|
| 3 |
size 4857206904
|
model-00004-of-00006.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 4857206904
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c9c1a30befacc5618ca28cffb6153d8036d5427cf455c73b47bc94b6ffd5783c
|
| 3 |
size 4857206904
|
model-00005-of-00006.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 4857206904
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e74ed840135cd57a143222b5d66f843f153ef1fa725286a181ad754e82acc993
|
| 3 |
size 4857206904
|
model-00006-of-00006.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 2684570416
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a725cd17f8c92b7dad0ce6ce78638f25989aefb029e74025d25f57067c3add95
|
| 3 |
size 2684570416
|
runs/Feb05_21-50-45_209-20-157-17/events.out.tfevents.1738792272.209-20-157-17.61816.0
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4621d7502fa61a264fa8f2a37505d5c0d7d4a2a782a3dcfaffbb3ed9cb21302d
|
| 3 |
+
size 16128
|