aashish1904 commited on
Commit
9004055
1 Parent(s): fc6fc6b

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +136 -0
README.md ADDED
@@ -0,0 +1,136 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ ---
3
+
4
+ license: apache-2.0
5
+ language:
6
+ - en
7
+ pipeline_tag: text-generation
8
+ library_name: transformers
9
+ base_model:
10
+ - meta-llama/Llama-3.2-1B-Instruct
11
+
12
+ ---
13
+
14
+ [![QuantFactory Banner](https://lh7-rt.googleusercontent.com/docsz/AD_4nXeiuCm7c8lEwEJuRey9kiVZsRn2W-b4pWlu3-X534V3YmVuVc2ZL-NXg2RkzSOOS2JXGHutDuyyNAUtdJI65jGTo8jT9Y99tMi4H4MqL44Uc5QKG77B0d6-JfIkZHFaUA71-RtjyYZWVIhqsNZcx8-OMaA?key=xt3VSDoCbmTY7o-cwwOFwQ)](https://hf.co/QuantFactory)
15
+
16
+
17
+ # QuantFactory/OneLLM-Doey-V1-Llama-3.2-1B-it-GGUF
18
+ This is quantized version of [DoeyLLM/OneLLM-Doey-V1-Llama-3.2-1B-it](https://huggingface.co/DoeyLLM/OneLLM-Doey-V1-Llama-3.2-1B-it) created using llama.cpp
19
+
20
+ # Original Model Card
21
+
22
+ ## **Model Summary**
23
+ This model is based on the Meta Llama 3.2 1B Instruct and has been fine-tuned using a proprietary dataset tailored by us. The dataset is specifically designed to enhance app functionality and user experience. The training objectives primarily focus on conversation optimization and improving the performance of AI toolkits within the OneLLM app.
24
+
25
+ ---
26
+
27
+ ## **Key Features**
28
+ - **Base Model**: LLaMA 3.2-1B
29
+ - **Fine-Tuning Framework**: LoRA
30
+ - **Max Sequence Length**: 1024 tokens
31
+ - **Use Case**: Instruction-based tasks, question answering, conversational AI.
32
+
33
+ ## **Model Usage**
34
+ This fine-tuned model is suitable for:
35
+ - **Conversational AI**: Chatbots and dialogue agents with improved contextual understanding.
36
+ - **Question Answering**: Generating concise and accurate answers to user queries.
37
+ - **Instruction Following**: Responding to structured prompts.
38
+ - **Long-Context Tasks**: Processing sequences up to 1024 tokens for long-text reasoning.
39
+
40
+ # **How to Use DoeyLLM / OneLLM-Doey-V1-Llama-3.2-1B-Instruct**
41
+
42
+ This guide explains how to use the **DoeyLLM** model on both app (iOS) and PC platforms.
43
+
44
+ ---
45
+
46
+ ## **App (iOS and Android): Use with OneLLM**
47
+
48
+ ![OneLLM](./OneLLM.png)
49
+
50
+
51
+ OneLLM brings versatile large language models (LLMs) to your device—Llama, Gemma, Qwen, Mistral, and more. Enjoy private, offline GPT and AI tools tailored to your needs.
52
+
53
+ With OneLLM, experience the capabilities of leading-edge language models directly on your device, all without an internet connection. Get fast, reliable, and intelligent responses, while keeping your data secure with local processing.
54
+
55
+ ### **Quick Start for your Phone**
56
+
57
+ Follow these steps to integrate the **DoeyLLM** model using the OneLLM app:
58
+
59
+
60
+
61
+ 1. **Download OneLLM**
62
+ Get the app from the [App Store](https://apps.apple.com/us/app/onellm-private-ai-gpt-llm/id6737907910) and install it on your iOS device.
63
+
64
+ Or get the app from the [Play Store](https://play.google.com/store/apps/details?id=com.esotech.onellm) and install it on your Android device.
65
+
66
+ 3. **Load the DoeyLLM Model**
67
+ Use the OneLLM interface to load the DoeyLLM model directly into the app:
68
+ - Navigate to the **Model Library**.
69
+ - Search for `DoeyLLM`.
70
+ - Select the model and tap **Download** to store it locally on your device.
71
+ 4. **Start Conversing**
72
+ Once the model is loaded, you can begin interacting with it through the app's chat interface. For example:
73
+ - Tap the **Chat** tab.
74
+ - Type your question or prompt, such as:
75
+ > "Explain the significance of AI in education."
76
+ - Receive real-time, intelligent responses generated locally.
77
+
78
+ ### **Key Features of OneLLM**
79
+ - **Versatile Models**: Supports various LLMs, including Llama, Gemma, and Qwen.
80
+ - **Private & Secure**: All processing occurs locally on your device, ensuring data privacy.
81
+ - **Offline Capability**: Use the app without requiring an internet connection.
82
+ - **Fast Performance**: Optimized for mobile devices, delivering low-latency responses.
83
+
84
+ For more details or support, visit the [OneLLM App Store page](https://apps.apple.com/us/app/onellm-private-ai-gpt-llm/id6737907910) and [Play Store](https://play.google.com/store/apps/details?id=com.esotech.onellm).
85
+
86
+ ## **PC: Use with Transformers**
87
+
88
+ The DoeyLLM model can also be used on PC platforms through the `transformers` library, enabling robust and scalable inference for various NLP tasks.
89
+
90
+ ### **Quick Start for PC**
91
+ Follow these steps to use the model with Transformers:
92
+
93
+ 1. **Install Transformers**
94
+ Ensure you have `transformers >= 4.43.0` installed. Update or install it via pip:
95
+
96
+ ```bash
97
+ pip install --upgrade transformers
98
+
99
+ 2. **Load the Model**
100
+ Use the transformers library to load the model and tokenizer:
101
+
102
+ Starting with `transformers >= 4.43.0` onward, you can run conversational inference using the Transformers `pipeline` abstraction or by leveraging the Auto classes with the `generate()` function.
103
+
104
+ Make sure to update your transformers installation via `pip install --upgrade transformers`.
105
+
106
+ ```python
107
+ import torch
108
+ from transformers import pipeline
109
+
110
+ model_id = "OneLLM-Doey-V1-Llama-3.2-3B"
111
+ pipe = pipeline(
112
+ "text-generation",
113
+ model=model_id,
114
+ torch_dtype=torch.bfloat16,
115
+ device_map="auto",
116
+ )
117
+ messages = [
118
+ {"role": "system", "content": "You are a pirate chatbot who always responds in pirate speak!"},
119
+ {"role": "user", "content": "Who are you?"},
120
+ ]
121
+ outputs = pipe(
122
+ messages,
123
+ max_new_tokens=256,
124
+ )
125
+ print(outputs[0]["generated_text"][-1])
126
+ ```
127
+
128
+
129
+
130
+ ## Responsibility & Safety
131
+
132
+ As part of our responsible release strategy, we adopted a three-pronged approach to managing trust and safety risks:
133
+
134
+ Enable developers to deploy helpful, safe, and flexible experiences for their target audience and the use cases supported by the model.
135
+ Protect developers from adversarial users attempting to exploit the model’s capabilities to potentially cause harm.
136
+ Provide safeguards for the community to help prevent the misuse of the model.