Text Generation
Transformers
TensorBoard
Safetensors
llama
Generated from Trainer
trl
dpo
conversational
text-generation-inference
Instructions to use Sim4Rec/inter-play-sim-assistant-dpo-test with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Sim4Rec/inter-play-sim-assistant-dpo-test with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="Sim4Rec/inter-play-sim-assistant-dpo-test") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("Sim4Rec/inter-play-sim-assistant-dpo-test") model = AutoModelForCausalLM.from_pretrained("Sim4Rec/inter-play-sim-assistant-dpo-test") 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
- vLLM
How to use Sim4Rec/inter-play-sim-assistant-dpo-test with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Sim4Rec/inter-play-sim-assistant-dpo-test" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Sim4Rec/inter-play-sim-assistant-dpo-test", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/Sim4Rec/inter-play-sim-assistant-dpo-test
- SGLang
How to use Sim4Rec/inter-play-sim-assistant-dpo-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 "Sim4Rec/inter-play-sim-assistant-dpo-test" \ --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": "Sim4Rec/inter-play-sim-assistant-dpo-test", "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 "Sim4Rec/inter-play-sim-assistant-dpo-test" \ --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": "Sim4Rec/inter-play-sim-assistant-dpo-test", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use Sim4Rec/inter-play-sim-assistant-dpo-test with Docker Model Runner:
docker model run hf.co/Sim4Rec/inter-play-sim-assistant-dpo-test
Training in progress, epoch 0
Browse files- config.json +1 -2
- model-00001-of-00004.safetensors +1 -1
- model-00002-of-00004.safetensors +1 -1
- model-00003-of-00004.safetensors +1 -1
- model-00004-of-00004.safetensors +1 -1
- runs/Apr30_01-14-16_w-jerom-inter-play-sim-94c6890b9ccf44ea86f033a3db8a5dbd-55drk5l/events.out.tfevents.1745975871.w-jerom-inter-play-sim-94c6890b9ccf44ea86f033a3db8a5dbd-55drk5l.20266.0 +3 -0
- runs/Apr30_01-19-53_w-jerom-inter-play-sim-94c6890b9ccf44ea86f033a3db8a5dbd-55drk5l/events.out.tfevents.1745976013.w-jerom-inter-play-sim-94c6890b9ccf44ea86f033a3db8a5dbd-55drk5l.22279.0 +3 -0
- runs/Apr30_02-41-01_w-jerom-inter-play-sim-94c6890b9ccf44ea86f033a3db8a5dbd-55drk5l/events.out.tfevents.1745980984.w-jerom-inter-play-sim-94c6890b9ccf44ea86f033a3db8a5dbd-55drk5l.51218.0 +3 -0
- runs/Apr30_02-48-29_w-jerom-inter-play-sim-94c6890b9ccf44ea86f033a3db8a5dbd-55drk5l/events.out.tfevents.1745981395.w-jerom-inter-play-sim-94c6890b9ccf44ea86f033a3db8a5dbd-55drk5l.52924.0 +3 -0
- runs/Apr30_03-17-03_w-jerom-inter-play-sim-94c6890b9ccf44ea86f033a3db8a5dbd-d7jjz4s/events.out.tfevents.1745983100.w-jerom-inter-play-sim-94c6890b9ccf44ea86f033a3db8a5dbd-d7jjz4s.10955.0 +3 -0
- runs/Apr30_03-25-41_w-jerom-inter-play-sim-94c6890b9ccf44ea86f033a3db8a5dbd-d7jjz4s/events.out.tfevents.1745983675.w-jerom-inter-play-sim-94c6890b9ccf44ea86f033a3db8a5dbd-d7jjz4s.14585.0 +3 -0
- runs/Apr30_03-35-39_w-jerom-inter-play-sim-94c6890b9ccf44ea86f033a3db8a5dbd-d7jjz4s/events.out.tfevents.1745984234.w-jerom-inter-play-sim-94c6890b9ccf44ea86f033a3db8a5dbd-d7jjz4s.16834.0 +3 -0
- runs/Apr30_03-39-12_w-jerom-inter-play-sim-94c6890b9ccf44ea86f033a3db8a5dbd-d7jjz4s/events.out.tfevents.1745984374.w-jerom-inter-play-sim-94c6890b9ccf44ea86f033a3db8a5dbd-d7jjz4s.18057.0 +3 -0
- runs/Apr30_03-40-53_w-jerom-inter-play-sim-94c6890b9ccf44ea86f033a3db8a5dbd-d7jjz4s/events.out.tfevents.1745984479.w-jerom-inter-play-sim-94c6890b9ccf44ea86f033a3db8a5dbd-d7jjz4s.18893.0 +3 -0
- tokenizer_config.json +1 -1
- training_args.bin +1 -1
config.json
CHANGED
|
@@ -1,5 +1,4 @@
|
|
| 1 |
{
|
| 2 |
-
"_name_or_path": "model/inter-play-sim-assistant-sft",
|
| 3 |
"architectures": [
|
| 4 |
"LlamaForCausalLM"
|
| 5 |
],
|
|
@@ -31,7 +30,7 @@
|
|
| 31 |
"rope_theta": 500000.0,
|
| 32 |
"tie_word_embeddings": false,
|
| 33 |
"torch_dtype": "bfloat16",
|
| 34 |
-
"transformers_version": "4.
|
| 35 |
"use_cache": false,
|
| 36 |
"vocab_size": 128320
|
| 37 |
}
|
|
|
|
| 1 |
{
|
|
|
|
| 2 |
"architectures": [
|
| 3 |
"LlamaForCausalLM"
|
| 4 |
],
|
|
|
|
| 30 |
"rope_theta": 500000.0,
|
| 31 |
"tie_word_embeddings": false,
|
| 32 |
"torch_dtype": "bfloat16",
|
| 33 |
+
"transformers_version": "4.51.3",
|
| 34 |
"use_cache": false,
|
| 35 |
"vocab_size": 128320
|
| 36 |
}
|
model-00001-of-00004.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 4977222960
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:53e9c6e391c6581088e5b1f11a9ca4fc246cb8ddf1c50bc27509c6d943d79fe7
|
| 3 |
size 4977222960
|
model-00002-of-00004.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 4999802720
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c6cb63acfd06708305217d36fd287e5c15d612836cbee5e8f94db5d4d995a129
|
| 3 |
size 4999802720
|
model-00003-of-00004.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 4915916176
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c4145cdf648a1e6ad2805b12e0b88580caa38ed863b14fa25174ae2992cf4678
|
| 3 |
size 4915916176
|
model-00004-of-00004.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 1168663096
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7f7a75b9d2e89342cae015066ecc76447b31254bbc6d0bd4c5be0221e50db5c1
|
| 3 |
size 1168663096
|
runs/Apr30_01-14-16_w-jerom-inter-play-sim-94c6890b9ccf44ea86f033a3db8a5dbd-55drk5l/events.out.tfevents.1745975871.w-jerom-inter-play-sim-94c6890b9ccf44ea86f033a3db8a5dbd-55drk5l.20266.0
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0318444cae8475d26538cfd2113baaad58686ffb56f22aaa021e23b1e1f765c1
|
| 3 |
+
size 7009
|
runs/Apr30_01-19-53_w-jerom-inter-play-sim-94c6890b9ccf44ea86f033a3db8a5dbd-55drk5l/events.out.tfevents.1745976013.w-jerom-inter-play-sim-94c6890b9ccf44ea86f033a3db8a5dbd-55drk5l.22279.0
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4e795f875919b33cfb7981c247195026d112dc747057011a8f698d5817b0a2dc
|
| 3 |
+
size 7008
|
runs/Apr30_02-41-01_w-jerom-inter-play-sim-94c6890b9ccf44ea86f033a3db8a5dbd-55drk5l/events.out.tfevents.1745980984.w-jerom-inter-play-sim-94c6890b9ccf44ea86f033a3db8a5dbd-55drk5l.51218.0
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d7f268a4a792990faf7d8d7b15959618e16808ccd1f164609770a7d7d4eeead9
|
| 3 |
+
size 6332
|
runs/Apr30_02-48-29_w-jerom-inter-play-sim-94c6890b9ccf44ea86f033a3db8a5dbd-55drk5l/events.out.tfevents.1745981395.w-jerom-inter-play-sim-94c6890b9ccf44ea86f033a3db8a5dbd-55drk5l.52924.0
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fc5ff2149b9f1e379913a7319a3f220486e7fb49a49fbf7d4b6c05471265068f
|
| 3 |
+
size 6332
|
runs/Apr30_03-17-03_w-jerom-inter-play-sim-94c6890b9ccf44ea86f033a3db8a5dbd-d7jjz4s/events.out.tfevents.1745983100.w-jerom-inter-play-sim-94c6890b9ccf44ea86f033a3db8a5dbd-d7jjz4s.10955.0
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2a25809dcc0d6e29158bba3830f48b8d432820a05a98444d201df6584516f64e
|
| 3 |
+
size 8360
|
runs/Apr30_03-25-41_w-jerom-inter-play-sim-94c6890b9ccf44ea86f033a3db8a5dbd-d7jjz4s/events.out.tfevents.1745983675.w-jerom-inter-play-sim-94c6890b9ccf44ea86f033a3db8a5dbd-d7jjz4s.14585.0
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:50e484325faba36229e9f616092f3a04f2810ecc6ec86f815a561199e8d016d9
|
| 3 |
+
size 15120
|
runs/Apr30_03-35-39_w-jerom-inter-play-sim-94c6890b9ccf44ea86f033a3db8a5dbd-d7jjz4s/events.out.tfevents.1745984234.w-jerom-inter-play-sim-94c6890b9ccf44ea86f033a3db8a5dbd-d7jjz4s.16834.0
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fc7d537db84d3fc2d60bbd9ddbf08f693051eb06adbb95a18ba438bec51edddb
|
| 3 |
+
size 9036
|
runs/Apr30_03-39-12_w-jerom-inter-play-sim-94c6890b9ccf44ea86f033a3db8a5dbd-d7jjz4s/events.out.tfevents.1745984374.w-jerom-inter-play-sim-94c6890b9ccf44ea86f033a3db8a5dbd-d7jjz4s.18057.0
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:da7c71952a83a36c0449bc5cda7b58c8247489d178e7ee800b0abb1b116b47aa
|
| 3 |
+
size 7008
|
runs/Apr30_03-40-53_w-jerom-inter-play-sim-94c6890b9ccf44ea86f033a3db8a5dbd-d7jjz4s/events.out.tfevents.1745984479.w-jerom-inter-play-sim-94c6890b9ccf44ea86f033a3db8a5dbd-d7jjz4s.18893.0
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0890d89346a5bd52ae0be031f368ac6bce6aa54abbf547b7aad6c91cd6119407
|
| 3 |
+
size 199702
|
tokenizer_config.json
CHANGED
|
@@ -2123,5 +2123,5 @@
|
|
| 2123 |
],
|
| 2124 |
"model_max_length": 131072,
|
| 2125 |
"pad_token": "<|finetune_right_pad_id|>",
|
| 2126 |
-
"tokenizer_class": "
|
| 2127 |
}
|
|
|
|
| 2123 |
],
|
| 2124 |
"model_max_length": 131072,
|
| 2125 |
"pad_token": "<|finetune_right_pad_id|>",
|
| 2126 |
+
"tokenizer_class": "PreTrainedTokenizer"
|
| 2127 |
}
|
training_args.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 7800
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:60b0f669d3f63e2705d3ad9da44e8756b5c73d39eca6bafd43b31b8302c095b5
|
| 3 |
size 7800
|