Instructions to use jumelet/test with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use jumelet/test with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="jumelet/test")# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("jumelet/test") model = AutoModelForCausalLM.from_pretrained("jumelet/test") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use jumelet/test with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "jumelet/test" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "jumelet/test", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/jumelet/test
- SGLang
How to use jumelet/test 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 "jumelet/test" \ --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": "jumelet/test", "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 "jumelet/test" \ --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": "jumelet/test", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use jumelet/test with Docker Model Runner:
docker model run hf.co/jumelet/test
Training in progress, step 1
Browse files- config.json +1 -1
- pytorch_model.bin +2 -2
- tokenizer.json +52 -53
- training_args.bin +1 -1
config.json
CHANGED
|
@@ -42,5 +42,5 @@
|
|
| 42 |
"torch_dtype": "float32",
|
| 43 |
"transformers_version": "4.30.2",
|
| 44 |
"use_cache": true,
|
| 45 |
-
"vocab_size":
|
| 46 |
}
|
|
|
|
| 42 |
"torch_dtype": "float32",
|
| 43 |
"transformers_version": "4.30.2",
|
| 44 |
"use_cache": true,
|
| 45 |
+
"vocab_size": 59
|
| 46 |
}
|
pytorch_model.bin
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:ab89043659a6b7a69549b10d13e530295d18b7ef949db33a6d7dd80a1c29c11c
|
| 3 |
+
size 41666
|
tokenizer.json
CHANGED
|
@@ -95,61 +95,60 @@
|
|
| 95 |
"<mask>": 2,
|
| 96 |
"<bos>": 3,
|
| 97 |
".": 4,
|
| 98 |
-
"
|
| 99 |
-
"
|
| 100 |
-
"
|
| 101 |
-
"
|
| 102 |
-
"
|
| 103 |
-
"
|
| 104 |
-
"
|
| 105 |
-
"
|
| 106 |
-
"
|
| 107 |
"in": 14,
|
| 108 |
-
"
|
| 109 |
-
"
|
| 110 |
-
"
|
| 111 |
-
"
|
| 112 |
-
"
|
| 113 |
-
"
|
| 114 |
-
"
|
| 115 |
-
"
|
| 116 |
-
"
|
| 117 |
-
"
|
| 118 |
-
"
|
| 119 |
-
"
|
| 120 |
-
"
|
| 121 |
-
"
|
| 122 |
-
"
|
| 123 |
-
"
|
| 124 |
-
"
|
| 125 |
-
"
|
| 126 |
-
"
|
| 127 |
-
"
|
| 128 |
-
"
|
| 129 |
-
"
|
| 130 |
-
"
|
| 131 |
-
"
|
| 132 |
-
"
|
| 133 |
-
"
|
| 134 |
-
"
|
| 135 |
"meant": 42,
|
| 136 |
-
"
|
| 137 |
-
"
|
| 138 |
-
"
|
| 139 |
-
"
|
| 140 |
-
"
|
| 141 |
-
"
|
| 142 |
-
"
|
| 143 |
-
"
|
| 144 |
-
"
|
| 145 |
-
"
|
| 146 |
-
"
|
| 147 |
-
"
|
| 148 |
-
"
|
| 149 |
-
"
|
| 150 |
-
"
|
| 151 |
-
"
|
| 152 |
-
"they": 59
|
| 153 |
},
|
| 154 |
"unk_token": "<unk>"
|
| 155 |
}
|
|
|
|
| 95 |
"<mask>": 2,
|
| 96 |
"<bos>": 3,
|
| 97 |
".": 4,
|
| 98 |
+
"the": 5,
|
| 99 |
+
"was": 6,
|
| 100 |
+
"and": 7,
|
| 101 |
+
"it": 8,
|
| 102 |
+
",": 9,
|
| 103 |
+
"had": 10,
|
| 104 |
+
"He": 11,
|
| 105 |
+
"here": 12,
|
| 106 |
+
"he": 13,
|
| 107 |
"in": 14,
|
| 108 |
+
"Tuesday": 15,
|
| 109 |
+
"Bible": 16,
|
| 110 |
+
"by": 17,
|
| 111 |
+
"now": 18,
|
| 112 |
+
"But": 19,
|
| 113 |
+
"mattered": 20,
|
| 114 |
+
"Today": 21,
|
| 115 |
+
"ditch": 22,
|
| 116 |
+
"knew": 23,
|
| 117 |
+
"really": 24,
|
| 118 |
+
"should": 25,
|
| 119 |
+
"Because": 26,
|
| 120 |
+
"care": 27,
|
| 121 |
+
"there": 28,
|
| 122 |
+
"what": 29,
|
| 123 |
+
":": 30,
|
| 124 |
+
"did": 31,
|
| 125 |
+
"leave": 32,
|
| 126 |
+
"none": 33,
|
| 127 |
+
"them": 34,
|
| 128 |
+
"boy": 35,
|
| 129 |
+
"quite": 36,
|
| 130 |
+
"that": 37,
|
| 131 |
+
"<": 38,
|
| 132 |
+
">": 39,
|
| 133 |
+
"apostrophe": 40,
|
| 134 |
+
"happened": 41,
|
| 135 |
"meant": 42,
|
| 136 |
+
"n": 43,
|
| 137 |
+
"not": 44,
|
| 138 |
+
"t": 45,
|
| 139 |
+
"to": 46,
|
| 140 |
+
"world": 47,
|
| 141 |
+
"finally": 48,
|
| 142 |
+
"find": 49,
|
| 143 |
+
"of": 50,
|
| 144 |
+
"cows": 51,
|
| 145 |
+
"they": 52,
|
| 146 |
+
"Oh": 53,
|
| 147 |
+
"justice": 54,
|
| 148 |
+
"told": 55,
|
| 149 |
+
"virtue": 56,
|
| 150 |
+
"intended": 57,
|
| 151 |
+
"sure": 58
|
|
|
|
| 152 |
},
|
| 153 |
"unk_token": "<unk>"
|
| 154 |
}
|
training_args.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 4408
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:34915e61a8f98dfa4b4980106605a498fecc394ef7c11fab5d34deefbae70d17
|
| 3 |
size 4408
|