Downloads · 30 days
16
26% of all-time downloads
ZainabF/allyarc_finetune_model_sample
allyarc_finetune_model_sample is a text generation model from ZainabF. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as apache-2.0.
This model card describes AllyArc, an educational chatbot designed to support autistic students with personalized learning experiences. AllyArc uses a fine-tuned Large Language Model to interact with users and provide…
Downloads · 30 days
16
26% of all-time downloads
All-time downloads
62
Public
Repo size
27 GB
Likes
0
Public
Click a slice to open those files.
.bin13.5 GB · 100%
From the Hugging Face model README
This model card describes AllyArc, an educational chatbot designed to support autistic students with personalized learning experiences. AllyArc uses a fine-tuned Large Language Model to interact with users and provide educational content.
AllyArc is an innovative chatbot tailored for the educational support of autistic students. It leverages a fine-tuned LLM to provide interactive learning experiences, emotional support, and a platform for students to engage in conversational learning.
AllyArc can be directly interacted with by students and educators through a conversational interface, providing instant responses to queries and aiding in learning.
The model can be integrated into educational platforms or applications as a support tool for autistic students, offering personalized assistance.
AllyArc is not designed for high-stakes decisions, medical advice, or any context outside of educational support.
While designed to be inclusive, there is a risk of unintended bias in responses due to the training data. The model may not fully understand or appropriately respond to all nuances of human emotion and communication.
Educators should monitor interactions and provide regular feedback to improve AllyArc's accuracy and sensitivity. Users should be aware of the model's limitations and not rely on it for critical decisions.
To explore and interact with AllyArc using Google Colab:
File > Save a copy in Drive to create a personal copy of the notebook.YOUR_HUGGING_FACE_TOKEN_HERE with your actual Hugging Face token.Please ensure you have the appropriate permissions and quotas on Google Colab to run the model without interruption.
To run the AllyArc model on your local machine, follow these steps:
pip install transformers tokenizers sentencepiece
<your_hugging_face_token> with your actual token):export HUGGING_FACE_API_KEY=<your_hugging_face_token>
import os
from huggingface_hub import hf_hub_download
from transformers import AutoTokenizer, AutoModelForSeq2SeqLM, pipeline
# Replace <hugging-face-api-key-goes-here> with your Hugging Face token
HUGGING_FACE_API_KEY = os.environ.get("HUGGING_FACE_API_KEY")
model_id = "ZainabF/allyarc_finetune_model_sample"
filenames = [
"pytorch_model.bin", "added_tokens.json", "config.json", "generation_config.json",
"special_tokens_map.json", "spiece.model", "tokenizer_config.json", "pytorch_model.bin.index.json"
]
for filename in filenames:
downloaded_model_path = hf_hub_download(
repo_id=model_id,
filename=filename,
token=HUGGING_FACE_API_KEY
)
print(f"Downloaded {filename} to {downloaded_model_path}")
# Initialize the tokenizer and model
tokenizer = AutoTokenizer.from_pretrained(model_id, legacy=False)
model = AutoModelForSeq2SeqLM.from_pretrained(model_id)
# Set up the pipeline for text generation
text_gen_pipeline = pipeline("text-generation", model=model, tokenizer=tokenizer, max_length=1000)
# Generate a response
response = text_gen_pipeline("How I'm upset that I got low mark at math, please help me")
print(response)
Please ensure that your environment variables are correctly set, and that the necessary packages are installed before running the script. The script will download the model files and then initialize the model for text generation, allowing you to input prompts and receive responses.
<!-- ## Training Details ### Training Data The model is trained on a curated dataset from educational websites and textbooks, with a focus on materials suitable for autistic learners. ### Training Procedure #### Preprocessing [optional] Data is cleaned and formatted to remove irrelevant information, ensuring the model receives high-quality input. #### Training Hyperparameters - **Training regime:** fp16 mixed precision for efficiency. #### Speeds, Sizes, Times [optional] [More Information Needed] ## Evaluation ### Testing Data, Factors & Metrics #### Testing Data The model is evaluated against a set of questions and scenarios typical of an educational environment for autistic students. #### Factors The evaluation considers the model's ability to handle various subjects and the clarity of its explanations. #### Metrics Metrics include accuracy, response time, and user satisfaction. ### Results [More Information Needed] #### Summary [More Information Needed] ## Environmental Impact - **Hardware Type:** Cloud-based GPUs. - **Hours used:** [More Information Needed] - **Cloud Provider:** [More Information Needed] - **Compute Region:** [More Information Needed] - **Carbon Emitted:** [More Information Needed] ## Technical Specifications [optional] ### Model Architecture and Objective The model uses a transformer-based architecture optimized for conversational understanding. ### Compute Infrastructure [More Information Needed] #### Hardware [More Information Needed] #### Software [More Information Needed] ## Citation [optional] **BibTeX:** ```bibtex @misc{allyarc2024, title={AllyArc: A Conversational Chatbot for Autistic Learners}, author={Zainab}, year={2024}, note={Model card for AllyArc} } ``` **APA:** Zainab. (2024). AllyArc: A Conversational Chatbot for Autistic Learners. [Model Card]. ## Glossary [optional] [More Information Needed] ## More Information [optional] [More Information Needed] ## Model Card Authors [optional] Zainab ## Model Card Contact [Contact Information] ->