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", device_map="auto") - 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 15
Browse files- config.json +1 -1
- pytorch_model.bin +2 -2
- tokenizer.json +80 -66
- 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": 88
|
| 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:28101df1a2fb2780ec77258274a2f37df7dde945337050fd389001591e090773
|
| 3 |
+
size 6443802
|
tokenizer.json
CHANGED
|
@@ -97,73 +97,87 @@
|
|
| 97 |
".": 4,
|
| 98 |
"the": 5,
|
| 99 |
"and": 6,
|
| 100 |
-
"
|
| 101 |
-
"
|
| 102 |
-
"
|
| 103 |
-
"
|
| 104 |
-
"
|
| 105 |
-
"
|
| 106 |
-
"
|
| 107 |
"He": 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 |
-
"
|
| 136 |
-
"
|
| 137 |
-
"
|
| 138 |
-
"
|
| 139 |
-
"
|
| 140 |
-
"
|
| 141 |
-
"
|
| 142 |
-
"
|
| 143 |
-
"
|
| 144 |
-
"
|
| 145 |
-
"
|
| 146 |
-
"
|
| 147 |
-
"
|
| 148 |
-
"
|
| 149 |
-
"
|
| 150 |
-
"
|
| 151 |
-
"
|
| 152 |
-
"
|
| 153 |
-
"
|
| 154 |
-
"
|
| 155 |
-
"
|
| 156 |
-
"
|
| 157 |
-
"
|
| 158 |
-
"
|
| 159 |
-
"
|
| 160 |
-
"
|
| 161 |
-
"
|
| 162 |
-
"
|
| 163 |
-
"
|
| 164 |
-
"
|
| 165 |
-
"
|
| 166 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 167 |
},
|
| 168 |
"unk_token": "<unk>"
|
| 169 |
}
|
|
|
|
| 97 |
".": 4,
|
| 98 |
"the": 5,
|
| 99 |
"and": 6,
|
| 100 |
+
",": 7,
|
| 101 |
+
"was": 8,
|
| 102 |
+
"it": 9,
|
| 103 |
+
"had": 10,
|
| 104 |
+
"he": 11,
|
| 105 |
+
"in": 12,
|
| 106 |
+
"Bible": 13,
|
| 107 |
"He": 14,
|
| 108 |
+
"a": 15,
|
| 109 |
+
"to": 16,
|
| 110 |
+
"here": 17,
|
| 111 |
+
"n<apostrophe>t": 18,
|
| 112 |
+
"ditch": 19,
|
| 113 |
+
"boy": 20,
|
| 114 |
+
"<apostrophe>s": 21,
|
| 115 |
+
"by": 22,
|
| 116 |
+
"knew": 23,
|
| 117 |
+
"did": 24,
|
| 118 |
+
"should": 25,
|
| 119 |
+
"help": 26,
|
| 120 |
+
"Oh": 27,
|
| 121 |
+
"they": 28,
|
| 122 |
+
"them": 29,
|
| 123 |
+
"The": 30,
|
| 124 |
+
"But": 31,
|
| 125 |
+
"there": 32,
|
| 126 |
+
"Today": 33,
|
| 127 |
+
"blackened": 34,
|
| 128 |
+
"intended": 35,
|
| 129 |
+
":": 36,
|
| 130 |
+
"meant": 37,
|
| 131 |
+
"justice": 38,
|
| 132 |
+
"told": 39,
|
| 133 |
+
"that": 40,
|
| 134 |
+
"They": 41,
|
| 135 |
+
"happened": 42,
|
| 136 |
+
"world": 43,
|
| 137 |
+
"now": 44,
|
| 138 |
+
"find": 45,
|
| 139 |
+
"quite": 46,
|
| 140 |
+
"class": 47,
|
| 141 |
+
"finally": 48,
|
| 142 |
+
"Because": 49,
|
| 143 |
+
"care": 50,
|
| 144 |
+
"his": 51,
|
| 145 |
+
"leave": 52,
|
| 146 |
+
"cows": 53,
|
| 147 |
+
"finger": 54,
|
| 148 |
+
"fingers": 55,
|
| 149 |
+
"mattered": 56,
|
| 150 |
+
"Tuesday": 57,
|
| 151 |
+
"sure": 58,
|
| 152 |
+
"of": 59,
|
| 153 |
+
"none": 60,
|
| 154 |
+
"really": 61,
|
| 155 |
+
"virtue": 62,
|
| 156 |
+
"what": 63,
|
| 157 |
+
"not": 64,
|
| 158 |
+
"moved": 65,
|
| 159 |
+
"narrowed": 66,
|
| 160 |
+
"saw": 67,
|
| 161 |
+
"were": 68,
|
| 162 |
+
"then": 69,
|
| 163 |
+
"And": 70,
|
| 164 |
+
"even": 71,
|
| 165 |
+
"rising": 72,
|
| 166 |
+
"dirt": 73,
|
| 167 |
+
"child": 74,
|
| 168 |
+
"like": 75,
|
| 169 |
+
"lower": 76,
|
| 170 |
+
"lip": 77,
|
| 171 |
+
"hazel": 78,
|
| 172 |
+
"grass": 79,
|
| 173 |
+
"than": 80,
|
| 174 |
+
"darker": 81,
|
| 175 |
+
"own": 82,
|
| 176 |
+
"baby": 83,
|
| 177 |
+
"eyes": 84,
|
| 178 |
+
"quivered": 85,
|
| 179 |
+
"from": 86,
|
| 180 |
+
"silky": 87
|
| 181 |
},
|
| 182 |
"unk_token": "<unk>"
|
| 183 |
}
|
training_args.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 4472
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:54f5a7a4a96217c64d4671412656a0522cba541a91bb8741d58830b5384eb662
|
| 3 |
size 4472
|