Text Generation
Transformers
TensorBoard
Safetensors
t5la
Generated from Trainer
Eval Results (legacy)
Instructions to use hrezaei/T5La-Large-WeightedLoss with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hrezaei/T5La-Large-WeightedLoss with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="hrezaei/T5La-Large-WeightedLoss")# Load model directly from transformers import AutoModelForSeq2SeqLM model = AutoModelForSeq2SeqLM.from_pretrained("hrezaei/T5La-Large-WeightedLoss", dtype="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps
- vLLM
How to use hrezaei/T5La-Large-WeightedLoss with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "hrezaei/T5La-Large-WeightedLoss" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "hrezaei/T5La-Large-WeightedLoss", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/hrezaei/T5La-Large-WeightedLoss
- SGLang
How to use hrezaei/T5La-Large-WeightedLoss 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 "hrezaei/T5La-Large-WeightedLoss" \ --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": "hrezaei/T5La-Large-WeightedLoss", "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 "hrezaei/T5La-Large-WeightedLoss" \ --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": "hrezaei/T5La-Large-WeightedLoss", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use hrezaei/T5La-Large-WeightedLoss with Docker Model Runner:
docker model run hf.co/hrezaei/T5La-Large-WeightedLoss
End of training
Browse files
README.md
CHANGED
|
@@ -3,25 +3,25 @@ library_name: transformers
|
|
| 3 |
tags:
|
| 4 |
- generated_from_trainer
|
| 5 |
datasets:
|
| 6 |
-
-
|
| 7 |
metrics:
|
| 8 |
- accuracy
|
| 9 |
model-index:
|
| 10 |
- name: T5La-Large-WeightedLoss
|
| 11 |
results:
|
| 12 |
- task:
|
| 13 |
-
name:
|
| 14 |
-
type:
|
| 15 |
dataset:
|
| 16 |
-
name:
|
| 17 |
-
type:
|
| 18 |
config: default
|
| 19 |
split: train
|
| 20 |
-
args:
|
| 21 |
metrics:
|
| 22 |
- name: Accuracy
|
| 23 |
type: accuracy
|
| 24 |
-
value: 0.
|
| 25 |
---
|
| 26 |
|
| 27 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
|
@@ -29,13 +29,13 @@ should probably proofread and complete it, then remove this comment. -->
|
|
| 29 |
|
| 30 |
# T5La-Large-WeightedLoss
|
| 31 |
|
| 32 |
-
This model is a fine-tuned version of [](https://huggingface.co/) on the
|
| 33 |
It achieves the following results on the evaluation set:
|
| 34 |
-
- Perplexity: 59.
|
| 35 |
-
- Loss: 4.
|
| 36 |
-
- Accuracy: 0.
|
| 37 |
-
- Lookahead Perplexity:
|
| 38 |
-
- Lookahead Loss: 6.
|
| 39 |
|
| 40 |
## Model description
|
| 41 |
|
|
|
|
| 3 |
tags:
|
| 4 |
- generated_from_trainer
|
| 5 |
datasets:
|
| 6 |
+
- HuggingFaceFW/fineweb
|
| 7 |
metrics:
|
| 8 |
- accuracy
|
| 9 |
model-index:
|
| 10 |
- name: T5La-Large-WeightedLoss
|
| 11 |
results:
|
| 12 |
- task:
|
| 13 |
+
name: Causal Language Modeling
|
| 14 |
+
type: text-generation
|
| 15 |
dataset:
|
| 16 |
+
name: HuggingFaceFW/fineweb sample-350BT
|
| 17 |
+
type: HuggingFaceFW/fineweb
|
| 18 |
config: default
|
| 19 |
split: train
|
| 20 |
+
args: sample-350BT
|
| 21 |
metrics:
|
| 22 |
- name: Accuracy
|
| 23 |
type: accuracy
|
| 24 |
+
value: 0.039600782778864974
|
| 25 |
---
|
| 26 |
|
| 27 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
|
|
|
| 29 |
|
| 30 |
# T5La-Large-WeightedLoss
|
| 31 |
|
| 32 |
+
This model is a fine-tuned version of [](https://huggingface.co/) on the HuggingFaceFW/fineweb sample-350BT dataset.
|
| 33 |
It achieves the following results on the evaluation set:
|
| 34 |
+
- Perplexity: 59.9708
|
| 35 |
+
- Loss: 4.0939
|
| 36 |
+
- Accuracy: 0.0396
|
| 37 |
+
- Lookahead Perplexity: 744.4827
|
| 38 |
+
- Lookahead Loss: 6.6127
|
| 39 |
|
| 40 |
## Model description
|
| 41 |
|
all_results.json
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"eval_accuracy": 0.039600782778864974,
|
| 3 |
+
"eval_lookahead_loss": 6.6126896116256715,
|
| 4 |
+
"eval_loss": 4.093857765197754,
|
| 5 |
+
"eval_perplexity": 59.97079928652605,
|
| 6 |
+
"eval_runtime": 519.7997,
|
| 7 |
+
"eval_samples": 10000,
|
| 8 |
+
"eval_samples_per_second": 19.238,
|
| 9 |
+
"eval_steps_per_second": 4.81,
|
| 10 |
+
"total_flos": 5.045399375119909e+18,
|
| 11 |
+
"train_loss": 0.6306409304961562,
|
| 12 |
+
"train_runtime": 55280.8486,
|
| 13 |
+
"train_samples": 2000000,
|
| 14 |
+
"train_samples_per_second": 37.936,
|
| 15 |
+
"train_steps_per_second": 9.484
|
| 16 |
+
}
|
eval_results.json
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"eval_accuracy": 0.039600782778864974,
|
| 3 |
+
"eval_lookahead_loss": 6.6126896116256715,
|
| 4 |
+
"eval_loss": 4.093857765197754,
|
| 5 |
+
"eval_perplexity": 59.97079928652605,
|
| 6 |
+
"eval_runtime": 519.7997,
|
| 7 |
+
"eval_samples": 10000,
|
| 8 |
+
"eval_samples_per_second": 19.238,
|
| 9 |
+
"eval_steps_per_second": 4.81
|
| 10 |
+
}
|
runs/Oct12_14-07-38_gpu25.viking2.yor.alces.network/events.out.tfevents.1760330553.gpu25.viking2.yor.alces.network.633058.1
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:590681932f2922e890d4069be875531fb2f2877cde4f7e9f49d14a843341abe6
|
| 3 |
+
size 596
|
train_results.json
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"total_flos": 5.045399375119909e+18,
|
| 3 |
+
"train_loss": 0.6306409304961562,
|
| 4 |
+
"train_runtime": 55280.8486,
|
| 5 |
+
"train_samples": 2000000,
|
| 6 |
+
"train_samples_per_second": 37.936,
|
| 7 |
+
"train_steps_per_second": 9.484
|
| 8 |
+
}
|
trainer_state.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|