Text Generation
Transformers
TensorBoard
Safetensors
gemma3_text
Generated from Trainer
trl
sft
conversational
text-generation-inference
Instructions to use gabrielpopa1/DATASET4 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use gabrielpopa1/DATASET4 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="gabrielpopa1/DATASET4", device_map="auto") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("gabrielpopa1/DATASET4") model = AutoModelForCausalLM.from_pretrained("gabrielpopa1/DATASET4", device_map="auto") messages = [ {"role": "user", "content": "Who are you?"}, ] inputs = tokenizer.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=40) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use gabrielpopa1/DATASET4 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "gabrielpopa1/DATASET4" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "gabrielpopa1/DATASET4", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/gabrielpopa1/DATASET4
- SGLang
How to use gabrielpopa1/DATASET4 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 "gabrielpopa1/DATASET4" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "gabrielpopa1/DATASET4", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'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 "gabrielpopa1/DATASET4" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "gabrielpopa1/DATASET4", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use gabrielpopa1/DATASET4 with Docker Model Runner:
docker model run hf.co/gabrielpopa1/DATASET4
Training in progress, step 186
Browse files- .gitattributes +1 -0
- README.md +1 -1
- config.json +1 -1
- model.safetensors +2 -2
- runs/Feb10_15-59-58_ryzen/events.out.tfevents.1770735598.ryzen.1890305.0 +3 -0
- runs/Feb10_16-01-45_ryzen/events.out.tfevents.1770735747.ryzen.1891314.0 +3 -0
- runs/Feb10_16-06-18_ryzen/events.out.tfevents.1770735979.ryzen.1896105.0 +3 -0
- runs/Feb10_16-10-05_ryzen/events.out.tfevents.1770736207.ryzen.1899614.0 +3 -0
- runs/Feb10_16-44-08_ryzen/events.out.tfevents.1770738250.ryzen.1928948.0 +3 -0
- runs/Feb10_16-48-44_ryzen/events.out.tfevents.1770738527.ryzen.1933620.0 +3 -0
- special_tokens_map.json +51 -0
- tokenizer.json +3 -0
- tokenizer_config.json +18 -9
- training_args.bin +1 -1
.gitattributes
CHANGED
|
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
README.md
CHANGED
|
@@ -4,8 +4,8 @@ library_name: transformers
|
|
| 4 |
model_name: DATASET4
|
| 5 |
tags:
|
| 6 |
- generated_from_trainer
|
| 7 |
-
- sft
|
| 8 |
- trl
|
|
|
|
| 9 |
licence: license
|
| 10 |
---
|
| 11 |
|
|
|
|
| 4 |
model_name: DATASET4
|
| 5 |
tags:
|
| 6 |
- generated_from_trainer
|
|
|
|
| 7 |
- trl
|
| 8 |
+
- sft
|
| 9 |
licence: license
|
| 10 |
---
|
| 11 |
|
config.json
CHANGED
|
@@ -50,5 +50,5 @@
|
|
| 50 |
"transformers_version": "4.57.1",
|
| 51 |
"use_bidirectional_attention": false,
|
| 52 |
"use_cache": false,
|
| 53 |
-
"vocab_size":
|
| 54 |
}
|
|
|
|
| 50 |
"transformers_version": "4.57.1",
|
| 51 |
"use_bidirectional_attention": false,
|
| 52 |
"use_cache": false,
|
| 53 |
+
"vocab_size": 262146
|
| 54 |
}
|
model.safetensors
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:1ea5a2eaa4a6a44578041ac8c9bc1649900933a1e7ac09858a6b80eb7dfd60ec
|
| 3 |
+
size 536225616
|
runs/Feb10_15-59-58_ryzen/events.out.tfevents.1770735598.ryzen.1890305.0
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a04735bc6e4c1aa297dcc5aa7b62549dfb11185ea10173fff413ba0069c461c2
|
| 3 |
+
size 88626
|
runs/Feb10_16-01-45_ryzen/events.out.tfevents.1770735747.ryzen.1891314.0
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:977620a1fca76a7d445900b35f56017e3f446c22c337a8d26ef7be45d85567e9
|
| 3 |
+
size 103849
|
runs/Feb10_16-06-18_ryzen/events.out.tfevents.1770735979.ryzen.1896105.0
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1df95c35f5bc41908352761af2035cf274e879765ed59210d819149a349ee530
|
| 3 |
+
size 85570
|
runs/Feb10_16-10-05_ryzen/events.out.tfevents.1770736207.ryzen.1899614.0
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ba6de9fd366d3dda92c859f3ea9cc53f740fa819128d2bce13172a1d71669a3e
|
| 3 |
+
size 9557
|
runs/Feb10_16-44-08_ryzen/events.out.tfevents.1770738250.ryzen.1928948.0
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7249ffe3c11db9eb379fe489b30aaf68a18ff2cc906bca722d939d8cd118c6cc
|
| 3 |
+
size 25682
|
runs/Feb10_16-48-44_ryzen/events.out.tfevents.1770738527.ryzen.1933620.0
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:593d2993b0e7cf479382f3e94c97deefb7f9db4dcf1a7aa81ecabdbb89680b34
|
| 3 |
+
size 76345
|
special_tokens_map.json
CHANGED
|
@@ -1,4 +1,55 @@
|
|
| 1 |
{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
"boi_token": "<start_of_image>",
|
| 3 |
"bos_token": {
|
| 4 |
"content": "<bos>",
|
|
|
|
| 1 |
{
|
| 2 |
+
"additional_special_tokens": [
|
| 3 |
+
{
|
| 4 |
+
"content": "<start_function_declaration>",
|
| 5 |
+
"lstrip": false,
|
| 6 |
+
"normalized": false,
|
| 7 |
+
"rstrip": false,
|
| 8 |
+
"single_word": false
|
| 9 |
+
},
|
| 10 |
+
{
|
| 11 |
+
"content": "<end_function_declaration>",
|
| 12 |
+
"lstrip": false,
|
| 13 |
+
"normalized": false,
|
| 14 |
+
"rstrip": false,
|
| 15 |
+
"single_word": false
|
| 16 |
+
},
|
| 17 |
+
{
|
| 18 |
+
"content": "<start_function_call>",
|
| 19 |
+
"lstrip": false,
|
| 20 |
+
"normalized": false,
|
| 21 |
+
"rstrip": false,
|
| 22 |
+
"single_word": false
|
| 23 |
+
},
|
| 24 |
+
{
|
| 25 |
+
"content": "<end_function_call>",
|
| 26 |
+
"lstrip": false,
|
| 27 |
+
"normalized": false,
|
| 28 |
+
"rstrip": false,
|
| 29 |
+
"single_word": false
|
| 30 |
+
},
|
| 31 |
+
{
|
| 32 |
+
"content": "<start_function_response>",
|
| 33 |
+
"lstrip": false,
|
| 34 |
+
"normalized": false,
|
| 35 |
+
"rstrip": false,
|
| 36 |
+
"single_word": false
|
| 37 |
+
},
|
| 38 |
+
{
|
| 39 |
+
"content": "<end_function_response>",
|
| 40 |
+
"lstrip": false,
|
| 41 |
+
"normalized": false,
|
| 42 |
+
"rstrip": false,
|
| 43 |
+
"single_word": false
|
| 44 |
+
},
|
| 45 |
+
{
|
| 46 |
+
"content": "<escape>",
|
| 47 |
+
"lstrip": false,
|
| 48 |
+
"normalized": false,
|
| 49 |
+
"rstrip": false,
|
| 50 |
+
"single_word": false
|
| 51 |
+
}
|
| 52 |
+
],
|
| 53 |
"boi_token": "<start_of_image>",
|
| 54 |
"bos_token": {
|
| 55 |
"content": "<bos>",
|
tokenizer.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a1ea2a5e9a8dcc4516835b969fa3e57fd07b3195b14bc00a5128d236eda96a44
|
| 3 |
+
size 33384893
|
tokenizer_config.json
CHANGED
|
@@ -376,7 +376,7 @@
|
|
| 376 |
"normalized": false,
|
| 377 |
"rstrip": false,
|
| 378 |
"single_word": false,
|
| 379 |
-
"special":
|
| 380 |
},
|
| 381 |
"47": {
|
| 382 |
"content": "<end_function_declaration>",
|
|
@@ -384,7 +384,7 @@
|
|
| 384 |
"normalized": false,
|
| 385 |
"rstrip": false,
|
| 386 |
"single_word": false,
|
| 387 |
-
"special":
|
| 388 |
},
|
| 389 |
"48": {
|
| 390 |
"content": "<start_function_call>",
|
|
@@ -392,7 +392,7 @@
|
|
| 392 |
"normalized": false,
|
| 393 |
"rstrip": false,
|
| 394 |
"single_word": false,
|
| 395 |
-
"special":
|
| 396 |
},
|
| 397 |
"49": {
|
| 398 |
"content": "<end_function_call>",
|
|
@@ -400,7 +400,7 @@
|
|
| 400 |
"normalized": false,
|
| 401 |
"rstrip": false,
|
| 402 |
"single_word": false,
|
| 403 |
-
"special":
|
| 404 |
},
|
| 405 |
"50": {
|
| 406 |
"content": "<start_function_response>",
|
|
@@ -408,7 +408,7 @@
|
|
| 408 |
"normalized": false,
|
| 409 |
"rstrip": false,
|
| 410 |
"single_word": false,
|
| 411 |
-
"special":
|
| 412 |
},
|
| 413 |
"51": {
|
| 414 |
"content": "<end_function_response>",
|
|
@@ -416,7 +416,7 @@
|
|
| 416 |
"normalized": false,
|
| 417 |
"rstrip": false,
|
| 418 |
"single_word": false,
|
| 419 |
-
"special":
|
| 420 |
},
|
| 421 |
"52": {
|
| 422 |
"content": "<escape>",
|
|
@@ -424,7 +424,7 @@
|
|
| 424 |
"normalized": false,
|
| 425 |
"rstrip": false,
|
| 426 |
"single_word": false,
|
| 427 |
-
"special":
|
| 428 |
},
|
| 429 |
"53": {
|
| 430 |
"content": "<unused40>",
|
|
@@ -2160,7 +2160,7 @@
|
|
| 2160 |
"normalized": false,
|
| 2161 |
"rstrip": false,
|
| 2162 |
"single_word": false,
|
| 2163 |
-
"special":
|
| 2164 |
},
|
| 2165 |
"256000": {
|
| 2166 |
"content": "<unused90>",
|
|
@@ -51331,6 +51331,15 @@
|
|
| 51331 |
"special": true
|
| 51332 |
}
|
| 51333 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 51334 |
"boi_token": "<start_of_image>",
|
| 51335 |
"bos_token": "<bos>",
|
| 51336 |
"clean_up_tokenization_spaces": false,
|
|
@@ -51347,7 +51356,7 @@
|
|
| 51347 |
"pad_token": "<pad>",
|
| 51348 |
"padding_side": "right",
|
| 51349 |
"sfr_token": "<start_function_response>",
|
| 51350 |
-
"sp_model_kwargs":
|
| 51351 |
"spaces_between_special_tokens": false,
|
| 51352 |
"tokenizer_class": "GemmaTokenizer",
|
| 51353 |
"unk_token": "<unk>",
|
|
|
|
| 376 |
"normalized": false,
|
| 377 |
"rstrip": false,
|
| 378 |
"single_word": false,
|
| 379 |
+
"special": true
|
| 380 |
},
|
| 381 |
"47": {
|
| 382 |
"content": "<end_function_declaration>",
|
|
|
|
| 384 |
"normalized": false,
|
| 385 |
"rstrip": false,
|
| 386 |
"single_word": false,
|
| 387 |
+
"special": true
|
| 388 |
},
|
| 389 |
"48": {
|
| 390 |
"content": "<start_function_call>",
|
|
|
|
| 392 |
"normalized": false,
|
| 393 |
"rstrip": false,
|
| 394 |
"single_word": false,
|
| 395 |
+
"special": true
|
| 396 |
},
|
| 397 |
"49": {
|
| 398 |
"content": "<end_function_call>",
|
|
|
|
| 400 |
"normalized": false,
|
| 401 |
"rstrip": false,
|
| 402 |
"single_word": false,
|
| 403 |
+
"special": true
|
| 404 |
},
|
| 405 |
"50": {
|
| 406 |
"content": "<start_function_response>",
|
|
|
|
| 408 |
"normalized": false,
|
| 409 |
"rstrip": false,
|
| 410 |
"single_word": false,
|
| 411 |
+
"special": true
|
| 412 |
},
|
| 413 |
"51": {
|
| 414 |
"content": "<end_function_response>",
|
|
|
|
| 416 |
"normalized": false,
|
| 417 |
"rstrip": false,
|
| 418 |
"single_word": false,
|
| 419 |
+
"special": true
|
| 420 |
},
|
| 421 |
"52": {
|
| 422 |
"content": "<escape>",
|
|
|
|
| 424 |
"normalized": false,
|
| 425 |
"rstrip": false,
|
| 426 |
"single_word": false,
|
| 427 |
+
"special": true
|
| 428 |
},
|
| 429 |
"53": {
|
| 430 |
"content": "<unused40>",
|
|
|
|
| 2160 |
"normalized": false,
|
| 2161 |
"rstrip": false,
|
| 2162 |
"single_word": false,
|
| 2163 |
+
"special": true
|
| 2164 |
},
|
| 2165 |
"256000": {
|
| 2166 |
"content": "<unused90>",
|
|
|
|
| 51331 |
"special": true
|
| 51332 |
}
|
| 51333 |
},
|
| 51334 |
+
"additional_special_tokens": [
|
| 51335 |
+
"<start_function_declaration>",
|
| 51336 |
+
"<end_function_declaration>",
|
| 51337 |
+
"<start_function_call>",
|
| 51338 |
+
"<end_function_call>",
|
| 51339 |
+
"<start_function_response>",
|
| 51340 |
+
"<end_function_response>",
|
| 51341 |
+
"<escape>"
|
| 51342 |
+
],
|
| 51343 |
"boi_token": "<start_of_image>",
|
| 51344 |
"bos_token": "<bos>",
|
| 51345 |
"clean_up_tokenization_spaces": false,
|
|
|
|
| 51356 |
"pad_token": "<pad>",
|
| 51357 |
"padding_side": "right",
|
| 51358 |
"sfr_token": "<start_function_response>",
|
| 51359 |
+
"sp_model_kwargs": null,
|
| 51360 |
"spaces_between_special_tokens": false,
|
| 51361 |
"tokenizer_class": "GemmaTokenizer",
|
| 51362 |
"unk_token": "<unk>",
|
training_args.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 6225
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d6af383a71e4d5dfec85ddc8b2f4cf52086573dc2b4aa852da460c684d68c09d
|
| 3 |
size 6225
|