Instructions to use prakod/codemix-test with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use prakod/codemix-test with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("prakod/codemix-test") model = AutoModelForSeq2SeqLM.from_pretrained("prakod/codemix-test", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Model save
Browse files- README.md +17 -16
- model.safetensors +1 -1
README.md
CHANGED
|
@@ -17,9 +17,9 @@ should probably proofread and complete it, then remove this comment. -->
|
|
| 17 |
|
| 18 |
This model is a fine-tuned version of [ai4bharat/IndicBART](https://huggingface.co/ai4bharat/IndicBART) on the None dataset.
|
| 19 |
It achieves the following results on the evaluation set:
|
| 20 |
-
- Loss:
|
| 21 |
-
- Bleu:
|
| 22 |
-
- Gen Len:
|
| 23 |
|
| 24 |
## Model description
|
| 25 |
|
|
@@ -39,29 +39,30 @@ More information needed
|
|
| 39 |
|
| 40 |
The following hyperparameters were used during training:
|
| 41 |
- learning_rate: 1e-06
|
| 42 |
-
- train_batch_size:
|
| 43 |
-
- eval_batch_size:
|
| 44 |
- seed: 42
|
| 45 |
-
- gradient_accumulation_steps:
|
| 46 |
- total_train_batch_size: 32
|
| 47 |
-
- optimizer: Use OptimizerNames.
|
| 48 |
- lr_scheduler_type: linear
|
| 49 |
- num_epochs: 5
|
|
|
|
| 50 |
|
| 51 |
### Training results
|
| 52 |
|
| 53 |
| Training Loss | Epoch | Step | Validation Loss | Bleu | Gen Len |
|
| 54 |
|:-------------:|:-----:|:----:|:---------------:|:-------:|:-------:|
|
| 55 |
-
|
|
| 56 |
-
|
|
| 57 |
-
|
|
| 58 |
-
|
|
| 59 |
-
|
|
| 60 |
|
| 61 |
|
| 62 |
### Framework versions
|
| 63 |
|
| 64 |
-
- Transformers
|
| 65 |
-
- Pytorch 2.
|
| 66 |
-
- Datasets
|
| 67 |
-
- Tokenizers 0.
|
|
|
|
| 17 |
|
| 18 |
This model is a fine-tuned version of [ai4bharat/IndicBART](https://huggingface.co/ai4bharat/IndicBART) on the None dataset.
|
| 19 |
It achieves the following results on the evaluation set:
|
| 20 |
+
- Loss: nan
|
| 21 |
+
- Bleu: 0.0
|
| 22 |
+
- Gen Len: 1.0
|
| 23 |
|
| 24 |
## Model description
|
| 25 |
|
|
|
|
| 39 |
|
| 40 |
The following hyperparameters were used during training:
|
| 41 |
- learning_rate: 1e-06
|
| 42 |
+
- train_batch_size: 16
|
| 43 |
+
- eval_batch_size: 16
|
| 44 |
- seed: 42
|
| 45 |
+
- gradient_accumulation_steps: 2
|
| 46 |
- total_train_batch_size: 32
|
| 47 |
+
- optimizer: Use OptimizerNames.ADAMW_TORCH_FUSED with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
| 48 |
- lr_scheduler_type: linear
|
| 49 |
- num_epochs: 5
|
| 50 |
+
- mixed_precision_training: Native AMP
|
| 51 |
|
| 52 |
### Training results
|
| 53 |
|
| 54 |
| Training Loss | Epoch | Step | Validation Loss | Bleu | Gen Len |
|
| 55 |
|:-------------:|:-----:|:----:|:---------------:|:-------:|:-------:|
|
| 56 |
+
| 15.8496 | 1.0 | 1004 | 6.6127 | 11.8261 | 20.016 |
|
| 57 |
+
| 0.0 | 2.0 | 2008 | nan | 0.0 | 1.0 |
|
| 58 |
+
| 0.0 | 3.0 | 3012 | nan | 0.0 | 1.0 |
|
| 59 |
+
| 0.0 | 4.0 | 4016 | nan | 0.0 | 1.0 |
|
| 60 |
+
| 0.0 | 5.0 | 5020 | nan | 0.0 | 1.0 |
|
| 61 |
|
| 62 |
|
| 63 |
### Framework versions
|
| 64 |
|
| 65 |
+
- Transformers 5.13.1
|
| 66 |
+
- Pytorch 2.11.0+cu128
|
| 67 |
+
- Datasets 4.0.0
|
| 68 |
+
- Tokenizers 0.22.2
|
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 976355336
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5d6524fab2076643537a00d3bf5c6567e9e56cd4af3aa04e3e3db504d9fa3d8d
|
| 3 |
size 976355336
|