Text Generation
Transformers
TensorBoard
Safetensors
mistral
alignment-handbook
trl
sft
Generated from Trainer
conversational
text-generation-inference
Instructions to use terry69/feedback_p0.05_seed42_level2_raredirtybatch16 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use terry69/feedback_p0.05_seed42_level2_raredirtybatch16 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="terry69/feedback_p0.05_seed42_level2_raredirtybatch16") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("terry69/feedback_p0.05_seed42_level2_raredirtybatch16") model = AutoModelForCausalLM.from_pretrained("terry69/feedback_p0.05_seed42_level2_raredirtybatch16") 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 terry69/feedback_p0.05_seed42_level2_raredirtybatch16 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "terry69/feedback_p0.05_seed42_level2_raredirtybatch16" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "terry69/feedback_p0.05_seed42_level2_raredirtybatch16", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/terry69/feedback_p0.05_seed42_level2_raredirtybatch16
- SGLang
How to use terry69/feedback_p0.05_seed42_level2_raredirtybatch16 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 "terry69/feedback_p0.05_seed42_level2_raredirtybatch16" \ --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": "terry69/feedback_p0.05_seed42_level2_raredirtybatch16", "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 "terry69/feedback_p0.05_seed42_level2_raredirtybatch16" \ --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": "terry69/feedback_p0.05_seed42_level2_raredirtybatch16", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use terry69/feedback_p0.05_seed42_level2_raredirtybatch16 with Docker Model Runner:
docker model run hf.co/terry69/feedback_p0.05_seed42_level2_raredirtybatch16
Model save
Browse files- README.md +2 -7
- all_results.json +4 -4
- config.json +1 -1
- runs/Sep22_05-05-45_COE-CS-sv003/events.out.tfevents.1726981611.COE-CS-sv003.654422.0 +3 -0
- train_results.json +4 -4
- trainer_state.json +4 -4
- training_args.bin +1 -1
README.md
CHANGED
|
@@ -3,15 +3,10 @@ library_name: transformers
|
|
| 3 |
license: apache-2.0
|
| 4 |
base_model: mistralai/Mistral-7B-Instruct-v0.2
|
| 5 |
tags:
|
| 6 |
-
- alignment-handbook
|
| 7 |
-
- trl
|
| 8 |
-
- sft
|
| 9 |
-
- generated_from_trainer
|
| 10 |
- trl
|
| 11 |
- sft
|
|
|
|
| 12 |
- generated_from_trainer
|
| 13 |
-
datasets:
|
| 14 |
-
- preference-data
|
| 15 |
model-index:
|
| 16 |
- name: feedback_p0.05_seed42_level2_raredirtybatch16
|
| 17 |
results: []
|
|
@@ -22,7 +17,7 @@ should probably proofread and complete it, then remove this comment. -->
|
|
| 22 |
|
| 23 |
# feedback_p0.05_seed42_level2_raredirtybatch16
|
| 24 |
|
| 25 |
-
This model is a fine-tuned version of [mistralai/Mistral-7B-Instruct-v0.2](https://huggingface.co/mistralai/Mistral-7B-Instruct-v0.2) on the
|
| 26 |
|
| 27 |
## Model description
|
| 28 |
|
|
|
|
| 3 |
license: apache-2.0
|
| 4 |
base_model: mistralai/Mistral-7B-Instruct-v0.2
|
| 5 |
tags:
|
|
|
|
|
|
|
|
|
|
|
|
|
| 6 |
- trl
|
| 7 |
- sft
|
| 8 |
+
- alignment-handbook
|
| 9 |
- generated_from_trainer
|
|
|
|
|
|
|
| 10 |
model-index:
|
| 11 |
- name: feedback_p0.05_seed42_level2_raredirtybatch16
|
| 12 |
results: []
|
|
|
|
| 17 |
|
| 18 |
# feedback_p0.05_seed42_level2_raredirtybatch16
|
| 19 |
|
| 20 |
+
This model is a fine-tuned version of [mistralai/Mistral-7B-Instruct-v0.2](https://huggingface.co/mistralai/Mistral-7B-Instruct-v0.2) on the None dataset.
|
| 21 |
|
| 22 |
## Model description
|
| 23 |
|
all_results.json
CHANGED
|
@@ -5,9 +5,9 @@
|
|
| 5 |
"eval_samples_per_second": 3.147,
|
| 6 |
"eval_steps_per_second": 0.944,
|
| 7 |
"total_flos": 195037149265920.0,
|
| 8 |
-
"train_loss": 0.
|
| 9 |
-
"train_runtime":
|
| 10 |
"train_samples": 98952,
|
| 11 |
-
"train_samples_per_second":
|
| 12 |
-
"train_steps_per_second":
|
| 13 |
}
|
|
|
|
| 5 |
"eval_samples_per_second": 3.147,
|
| 6 |
"eval_steps_per_second": 0.944,
|
| 7 |
"total_flos": 195037149265920.0,
|
| 8 |
+
"train_loss": 0.0,
|
| 9 |
+
"train_runtime": 0.0084,
|
| 10 |
"train_samples": 98952,
|
| 11 |
+
"train_samples_per_second": 3568486.833,
|
| 12 |
+
"train_steps_per_second": 223052.876
|
| 13 |
}
|
config.json
CHANGED
|
@@ -22,6 +22,6 @@
|
|
| 22 |
"tie_word_embeddings": false,
|
| 23 |
"torch_dtype": "bfloat16",
|
| 24 |
"transformers_version": "4.44.2",
|
| 25 |
-
"use_cache":
|
| 26 |
"vocab_size": 32000
|
| 27 |
}
|
|
|
|
| 22 |
"tie_word_embeddings": false,
|
| 23 |
"torch_dtype": "bfloat16",
|
| 24 |
"transformers_version": "4.44.2",
|
| 25 |
+
"use_cache": false,
|
| 26 |
"vocab_size": 32000
|
| 27 |
}
|
runs/Sep22_05-05-45_COE-CS-sv003/events.out.tfevents.1726981611.COE-CS-sv003.654422.0
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:bcb8cba0f3e68f5c8d82f578f9e4b396ce245c9a910d6407b49d6537c02fdad6
|
| 3 |
+
size 5624
|
train_results.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
| 1 |
{
|
| 2 |
"epoch": 1.0,
|
| 3 |
"total_flos": 195037149265920.0,
|
| 4 |
-
"train_loss": 0.
|
| 5 |
-
"train_runtime":
|
| 6 |
"train_samples": 98952,
|
| 7 |
-
"train_samples_per_second":
|
| 8 |
-
"train_steps_per_second":
|
| 9 |
}
|
|
|
|
| 1 |
{
|
| 2 |
"epoch": 1.0,
|
| 3 |
"total_flos": 195037149265920.0,
|
| 4 |
+
"train_loss": 0.0,
|
| 5 |
+
"train_runtime": 0.0084,
|
| 6 |
"train_samples": 98952,
|
| 7 |
+
"train_samples_per_second": 3568486.833,
|
| 8 |
+
"train_steps_per_second": 223052.876
|
| 9 |
}
|
trainer_state.json
CHANGED
|
@@ -2630,10 +2630,10 @@
|
|
| 2630 |
"epoch": 1.0,
|
| 2631 |
"step": 1863,
|
| 2632 |
"total_flos": 195037149265920.0,
|
| 2633 |
-
"train_loss": 0.
|
| 2634 |
-
"train_runtime":
|
| 2635 |
-
"train_samples_per_second":
|
| 2636 |
-
"train_steps_per_second":
|
| 2637 |
}
|
| 2638 |
],
|
| 2639 |
"logging_steps": 5,
|
|
|
|
| 2630 |
"epoch": 1.0,
|
| 2631 |
"step": 1863,
|
| 2632 |
"total_flos": 195037149265920.0,
|
| 2633 |
+
"train_loss": 0.0,
|
| 2634 |
+
"train_runtime": 0.0084,
|
| 2635 |
+
"train_samples_per_second": 3568486.833,
|
| 2636 |
+
"train_steps_per_second": 223052.876
|
| 2637 |
}
|
| 2638 |
],
|
| 2639 |
"logging_steps": 5,
|
training_args.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 7032
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9ec15cf7f3d7674b8632ba4265172cc34db912cf47629cdd878878ad6a4fb739
|
| 3 |
size 7032
|