HelpMum-Personal commited on
Commit
fa98498
·
verified ·
1 Parent(s): 42b4db0

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +7 -7
README.md CHANGED
@@ -11,9 +11,9 @@ tags:
11
  - fine-tuning
12
  ---
13
 
14
- # Model Card for MamaBot-Llama-1
15
 
16
- MamaBot-Llama-1 is an opensource fine-tuned large language model developed by HelpMum to assist with maternal healthcare by providing accurate and reliable answers to questions about pregnancy and childbirth. The model has been fine-tuned on Llama 3.1 8b-instruct using a dataset of maternal healthcare questions and answers.
17
 
18
  ## Model Details
19
 
@@ -26,7 +26,7 @@ MamaBot-Llama-1 is an opensource fine-tuned large language model developed by He
26
 
27
  ### Model Sources
28
 
29
- - **Repository:** [MamaBot-Llama-1 on Hugging Face](https://huggingface.co/HelpMum-Personal/mamabot-llama-1)
30
 
31
  ## Uses
32
 
@@ -63,8 +63,8 @@ Use the code below to get started with the model.
63
  !pip install -q -U bitsandbytes
64
 
65
  from transformers import AutoModelForCausalLM, AutoTokenizer
66
- tokenizer = AutoTokenizer.from_pretrained('HelpMum-Personal/mamabot-llama-1')
67
- model = AutoModelForCausalLM.from_pretrained('HelpMum-Personal/mamabot-llama-1')
68
 
69
  def generate_response(user_message):
70
  tokenizer.chat_template = "{%- for message in messages %}{{ bos_token + '[INST] ' + message['content'] + ' [/INST]' if message['role'] == 'user' else ' ' + message['content'] + ' ' + eos_token }}{%- endfor %}"
@@ -154,13 +154,13 @@ The training and inference were conducted using the Hugging Face Transformers li
154
  author = {HelpMum},
155
  title = {MamaBot-Llama-1},
156
  year = {2024},
157
- howpublished = {\url{https://huggingface.co/HelpMum-Personal/mamabot-llama-1}},
158
  }
159
  ```
160
 
161
  **APA:**
162
 
163
- HelpMum. (2024). MamaBot-Llama-1. Retrieved from https://huggingface.co/HelpMum-Personal/mamabot-llama-1
164
 
165
  ## Model Card Contact
166
 
 
11
  - fine-tuning
12
  ---
13
 
14
+ # Model Card for MamaBot-Llama
15
 
16
+ MamaBot-Llama is an opensource fine-tuned large language model developed by HelpMum to assist with maternal healthcare by providing accurate and reliable answers to questions about pregnancy and childbirth. The model has been fine-tuned on Llama 3.1 8b-instruct using a dataset of maternal healthcare questions and answers.
17
 
18
  ## Model Details
19
 
 
26
 
27
  ### Model Sources
28
 
29
+ - **Repository:** [MamaBot-Llama-1 on Hugging Face](https://huggingface.co/HelpMumHQ/MamaBot-Llama)
30
 
31
  ## Uses
32
 
 
63
  !pip install -q -U bitsandbytes
64
 
65
  from transformers import AutoModelForCausalLM, AutoTokenizer
66
+ tokenizer = AutoTokenizer.from_pretrained('HelpMumHQ/MamaBot-Llama')
67
+ model = AutoModelForCausalLM.from_pretrained('HelpMumHQ/MamaBot-Llama')
68
 
69
  def generate_response(user_message):
70
  tokenizer.chat_template = "{%- for message in messages %}{{ bos_token + '[INST] ' + message['content'] + ' [/INST]' if message['role'] == 'user' else ' ' + message['content'] + ' ' + eos_token }}{%- endfor %}"
 
154
  author = {HelpMum},
155
  title = {MamaBot-Llama-1},
156
  year = {2024},
157
+ howpublished = {\url{https://huggingface.co/HelpMumHQ/MamaBot-Llama}},
158
  }
159
  ```
160
 
161
  **APA:**
162
 
163
+ HelpMum. (2024). MamaBot-Llama-1. Retrieved from https://huggingface.co/HelpMumHQ/MamaBot-Llama
164
 
165
  ## Model Card Contact
166