arshiaafshani commited on
Commit
9e6710e
·
verified ·
1 Parent(s): 9e0b009

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +28 -1
README.md CHANGED
@@ -8,8 +8,11 @@ datasets:
8
  - shibing624/sharegpt_gpt4
9
  - ChristophSchuhmann/basic-math-problems-with-step-by-step-solutions
10
  - ajibawa-2023/SlimOrca-ShareGPT
11
- - Open-Orca/OpenOrca
 
 
12
  ---
 
13
  # Arsh-llm: A Compact 500M Parameter Powerhouse 🚀
14
 
15
  **Arsh-llm** is a 500-million-parameter language model built on the Llama architecture, designed to shine in generating creative stories, coherent text, and functional code. Pretrained for 35 hours on a T4 GPU using a curated mix of small yet powerful datasets, and fine-tuned for 5 hours on conversational data, this model is a lean, mean, text-generating machine with massive potential. With a training loss between **1.2–1.9**, it’s already showing promise and is ready to level up with more training. Buckle up—this is just the beginning! 😎
@@ -34,21 +37,31 @@ Arsh-llm was trained on a diverse set of datasets to ensure versatility in story
34
  - **abhinand/alpaca-gpt4-sharegpt**: Instruction-based conversational data for task-oriented responses.
35
  - **shibing624/sharegpt_gpt4**: High-quality conversational data for chat-like interactions.
36
  - **ChristophSchuhmann/basic-math-problems-with-step-by-step-solutions**: Math problems with solutions to boost logical reasoning.
 
37
  Fine-tuning was performed on a structured ShareGPT chat template to enhance conversational abilities, making Arsh-llm a great starting point for dialogue-based applications.
 
38
  ## Use Cases
 
39
  Arsh-llm is a versatile model with applications in:
 
40
  - **Creative Writing**: Generate engaging short stories or narrative prompts.
41
  - **Code Generation**: Produce functional code snippets for various programming tasks.
42
  - **Conversational AI**: Power chatbots or assistants with natural dialogue.
43
  - **Educational Tools**: Assist with math problem-solving or explain concepts step-by-step.
 
44
  > **Note**: This model is a work in progress. For production-grade performance, further pretraining on larger datasets and post-training on conversational data is recommended.
 
45
  ## Getting Started
 
46
  To use Arsh-llm, you can load it directly from Hugging Face:
 
47
  ```python
48
  from transformers import AutoModelForCausalLM, AutoTokenizer
 
49
  # Load model and tokenizer
50
  model = AutoModelForCausalLM.from_pretrained("arshiaafshani/Arsh-llm")
51
  tokenizer = AutoTokenizer.from_pretrained("arshiaafshani/Arsh-llm")
 
52
  # Example: Generate a response
53
  messages = [{"role": "user", "content": "Write a short story about a brave robot."}]
54
  input_text = tokenizer.apply_chat_template(messages, tokenize=False)
@@ -56,28 +69,42 @@ inputs = tokenizer(input_text, return_tensors="pt")
56
  outputs = model.generate(**inputs, max_length=200)
57
  print(tokenizer.decode(outputs[0], skip_special_tokens=True))
58
  ```
 
59
  ## Training Details
 
60
  - **Pretraining**: Conducted on a T4 GPU for \~35 hours using a mix of TinyStories, WikiText, and other datasets to build a strong foundation in text and story generation.
61
  - **Fine-tuning**: 5 hours on ShareGPT-based conversational data with a structured chat template to enhance dialogue capabilities.
62
  - **Hardware**: NVIDIA T4 GPU (15GB VRAM).
63
  - **Training Loss**: Achieved 1.2–1.9, indicating solid performance with significant potential for improvement through extended training.
 
64
  ## Limitations
 
65
  - **Current Stage**: Arsh-llm is not yet fully optimized. It performs well for its size but requires additional training to compete with larger models.
66
  - **Dataset Size**: Pretrained on relatively small datasets, which limits its generalization. Scaling up to larger datasets will unlock its full potential.
67
  - **Context Length**: Limited to 128 tokens, which may constrain performance on longer sequences.
68
  - **Not Production-Ready**: This model is best used as a base for further fine-tuning rather than as a standalone solution.
 
69
  ## Future Plans
 
70
  The journey doesn’t end here! Arsh-llm is set to evolve with:
 
71
  - **Extended Pretraining**: Leveraging larger datasets for broader knowledge and better generalization.
72
  - **Conversational Fine-tuning**: Enhancing dialogue capabilities with advanced post-training techniques.
73
  - **Benchmarking**: Evaluating performance against similar models (e.g., TinyLlama, Phi-1.5) on tasks like MMLU, HumanEval, and GSM8K.
74
  - **Community Feedback**: Incorporating user insights to refine and improve the model.
 
75
  Stay tuned—Arsh-llm is on its way to becoming a legend! 🔥
 
76
  ## License
 
77
  This model is licensed under the MIT License, allowing for flexible use in both research and commercial applications. Feel free to build upon, modify, or share it!
 
78
  ## Acknowledgments
 
79
  - Built with ❤️ by Arshia Afshani.
80
  - Powered by the Hugging Face Transformers library.
81
  - Thanks to the open-source community for providing the amazing datasets that made this model possible.
 
82
  ---
 
83
  **Ready to take Arsh-llm for a spin?** Clone it, train it, and let’s make it a superstar together! 🌟 For questions, feedback, or collabs, reach out via Hugging Face or open an issue in the repo.
 
8
  - shibing624/sharegpt_gpt4
9
  - ChristophSchuhmann/basic-math-problems-with-step-by-step-solutions
10
  - ajibawa-2023/SlimOrca-ShareGPT
11
+ language:
12
+ - en
13
+ pipeline_tag: text-generation
14
  ---
15
+
16
  # Arsh-llm: A Compact 500M Parameter Powerhouse 🚀
17
 
18
  **Arsh-llm** is a 500-million-parameter language model built on the Llama architecture, designed to shine in generating creative stories, coherent text, and functional code. Pretrained for 35 hours on a T4 GPU using a curated mix of small yet powerful datasets, and fine-tuned for 5 hours on conversational data, this model is a lean, mean, text-generating machine with massive potential. With a training loss between **1.2–1.9**, it’s already showing promise and is ready to level up with more training. Buckle up—this is just the beginning! 😎
 
37
  - **abhinand/alpaca-gpt4-sharegpt**: Instruction-based conversational data for task-oriented responses.
38
  - **shibing624/sharegpt_gpt4**: High-quality conversational data for chat-like interactions.
39
  - **ChristophSchuhmann/basic-math-problems-with-step-by-step-solutions**: Math problems with solutions to boost logical reasoning.
40
+
41
  Fine-tuning was performed on a structured ShareGPT chat template to enhance conversational abilities, making Arsh-llm a great starting point for dialogue-based applications.
42
+
43
  ## Use Cases
44
+
45
  Arsh-llm is a versatile model with applications in:
46
+
47
  - **Creative Writing**: Generate engaging short stories or narrative prompts.
48
  - **Code Generation**: Produce functional code snippets for various programming tasks.
49
  - **Conversational AI**: Power chatbots or assistants with natural dialogue.
50
  - **Educational Tools**: Assist with math problem-solving or explain concepts step-by-step.
51
+
52
  > **Note**: This model is a work in progress. For production-grade performance, further pretraining on larger datasets and post-training on conversational data is recommended.
53
+
54
  ## Getting Started
55
+
56
  To use Arsh-llm, you can load it directly from Hugging Face:
57
+
58
  ```python
59
  from transformers import AutoModelForCausalLM, AutoTokenizer
60
+
61
  # Load model and tokenizer
62
  model = AutoModelForCausalLM.from_pretrained("arshiaafshani/Arsh-llm")
63
  tokenizer = AutoTokenizer.from_pretrained("arshiaafshani/Arsh-llm")
64
+
65
  # Example: Generate a response
66
  messages = [{"role": "user", "content": "Write a short story about a brave robot."}]
67
  input_text = tokenizer.apply_chat_template(messages, tokenize=False)
 
69
  outputs = model.generate(**inputs, max_length=200)
70
  print(tokenizer.decode(outputs[0], skip_special_tokens=True))
71
  ```
72
+
73
  ## Training Details
74
+
75
  - **Pretraining**: Conducted on a T4 GPU for \~35 hours using a mix of TinyStories, WikiText, and other datasets to build a strong foundation in text and story generation.
76
  - **Fine-tuning**: 5 hours on ShareGPT-based conversational data with a structured chat template to enhance dialogue capabilities.
77
  - **Hardware**: NVIDIA T4 GPU (15GB VRAM).
78
  - **Training Loss**: Achieved 1.2–1.9, indicating solid performance with significant potential for improvement through extended training.
79
+
80
  ## Limitations
81
+
82
  - **Current Stage**: Arsh-llm is not yet fully optimized. It performs well for its size but requires additional training to compete with larger models.
83
  - **Dataset Size**: Pretrained on relatively small datasets, which limits its generalization. Scaling up to larger datasets will unlock its full potential.
84
  - **Context Length**: Limited to 128 tokens, which may constrain performance on longer sequences.
85
  - **Not Production-Ready**: This model is best used as a base for further fine-tuning rather than as a standalone solution.
86
+
87
  ## Future Plans
88
+
89
  The journey doesn’t end here! Arsh-llm is set to evolve with:
90
+
91
  - **Extended Pretraining**: Leveraging larger datasets for broader knowledge and better generalization.
92
  - **Conversational Fine-tuning**: Enhancing dialogue capabilities with advanced post-training techniques.
93
  - **Benchmarking**: Evaluating performance against similar models (e.g., TinyLlama, Phi-1.5) on tasks like MMLU, HumanEval, and GSM8K.
94
  - **Community Feedback**: Incorporating user insights to refine and improve the model.
95
+
96
  Stay tuned—Arsh-llm is on its way to becoming a legend! 🔥
97
+
98
  ## License
99
+
100
  This model is licensed under the MIT License, allowing for flexible use in both research and commercial applications. Feel free to build upon, modify, or share it!
101
+
102
  ## Acknowledgments
103
+
104
  - Built with ❤️ by Arshia Afshani.
105
  - Powered by the Hugging Face Transformers library.
106
  - Thanks to the open-source community for providing the amazing datasets that made this model possible.
107
+
108
  ---
109
+
110
  **Ready to take Arsh-llm for a spin?** Clone it, train it, and let’s make it a superstar together! 🌟 For questions, feedback, or collabs, reach out via Hugging Face or open an issue in the repo.