Create README.md
Browse files
README.md
ADDED
|
@@ -0,0 +1,67 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
language:
|
| 3 |
+
- is
|
| 4 |
+
---
|
| 5 |
+
Icendanic Meta-LLaMA 3.1 8B Model
|
| 6 |
+
|
| 7 |
+
Model Description:
|
| 8 |
+
The Icendanic Meta-LLaMA 3.1 8B is a fine-tuned language model built for tasks involving Icelandic text. It is designed to handle a variety of natural language processing tasks, including text generation, translation, and analysis, while emphasizing Icelandic language features.
|
| 9 |
+
|
| 10 |
+
Intended Use:
|
| 11 |
+
This model is intended for research and educational purposes, with a focus on:
|
| 12 |
+
|
| 13 |
+
Icelandic language modeling and processing:
|
| 14 |
+
Text generation and contextual understanding.
|
| 15 |
+
Translation and evaluation tasks.
|
| 16 |
+
|
| 17 |
+
Not suitable for:
|
| 18 |
+
Sensitive or production-critical applications where guaranteed performance and low latency are required.
|
| 19 |
+
|
| 20 |
+
Training:
|
| 21 |
+
The model was fine-tuned using a curated dataset (Icelandic_cleaned.json) on Meta's LLaMA architecture. Training was performed on GPU resources, with loss convergence monitored using training_validation_loss_meta_llama.png.
|
| 22 |
+
|
| 23 |
+
Training Framework: PyTorch
|
| 24 |
+
Optimization Techniques: Hyperparameter tuning, learning rate adjustments, and validation-based monitoring.
|
| 25 |
+
|
| 26 |
+
Metrics:
|
| 27 |
+
The primary evaluation metrics used for this model are:
|
| 28 |
+
|
| 29 |
+
Training Loss
|
| 30 |
+
Validation Loss
|
| 31 |
+
The training curves are available for reference in training_validation_loss_plot.png.
|
| 32 |
+
|
| 33 |
+
Usage:
|
| 34 |
+
The model can be loaded using the transformers library from Hugging Face:
|
| 35 |
+
|
| 36 |
+
python
|
| 37 |
+
Copy code
|
| 38 |
+
from transformers import AutoModelForCausalLM, AutoTokenizer
|
| 39 |
+
|
| 40 |
+
tokenizer = AutoTokenizer.from_pretrained("path/to/icendanic-model")
|
| 41 |
+
model = AutoModelForCausalLM.from_pretrained("path/to/icendanic-model")
|
| 42 |
+
|
| 43 |
+
# Example usage
|
| 44 |
+
input_text = "Hvernig er veðrið í dag?"
|
| 45 |
+
inputs = tokenizer(input_text, return_tensors="pt")
|
| 46 |
+
outputs = model.generate(**inputs)
|
| 47 |
+
print(tokenizer.decode(outputs[0]))
|
| 48 |
+
Limitations
|
| 49 |
+
Limited training dataset scope may restrict performance on out-of-domain Icelandic text.
|
| 50 |
+
May exhibit biases present in the original dataset.
|
| 51 |
+
Results may vary depending on task complexity and input length.
|
| 52 |
+
Citation
|
| 53 |
+
If you use this model, please cite as:
|
| 54 |
+
|
| 55 |
+
css
|
| 56 |
+
Copy code
|
| 57 |
+
@misc{icendanic_model,
|
| 58 |
+
author = {Icendanic Team},
|
| 59 |
+
title = {Icendanic Meta-LLaMA 3.1 8B Model},
|
| 60 |
+
year = 2024,
|
| 61 |
+
note = {https://huggingface.co/your-repository-name}
|
| 62 |
+
}
|
| 63 |
+
License
|
| 64 |
+
This model is released without any specific license. Please ensure compliance with the original dataset's terms and conditions when using this model.
|
| 65 |
+
|
| 66 |
+
Acknowledgements
|
| 67 |
+
This project was developed as part of ongoing research and academic efforts.
|