Downloads · 30 days
0
Ylemnox/llama-toefl-checkbot
llama-toefl-checkbot is a text generation model from Ylemnox. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as llama3.2.
A fine-tuned Llama 3.2 model for automated TOEFL speaking assessment using LoRA adapters.
Downloads · 30 days
0
Access
Public
Updated Dec 18, 2025
Repo size
52.8 MB
Likes
1
Public
Click a slice to open those files.
.safetensors57.7 MB · 94%
From the Hugging Face model README
A fine-tuned Llama 3.2 model for automated TOEFL speaking assessment using LoRA adapters.
This repository contains a fine-tuned LoRA adapter for evaluating TOEFL speaking responses. The model has been trained to assess speaking quality and provide scores based on TOEFL evaluation criteria.
Base Model: Llama 3.2 Training Method: LoRA (Low-Rank Adaptation) Task: TOEFL Speaking Assessment
toefl_judge_adapter/ - LoRA adapter weights in safetensors format
adapters.safetensorsadapter_config.jsontrain.jsonl (1.9MB) - Training datasetvalid.jsonl (642KB) - Validation datasettoefl_speaking_data_test.jsonl (650KB) - Test datasettoefl_judge_app.py - Web application for TOEFL evaluationcli.py - Command-line interfacefine_tune.py - Fine-tuning scriptdata_formatter.py - Data preprocessing utilitiesevaluator.py - Model evaluation toolstoefl_predictions.csv - Model predictions on test settoefl_evaluations.csv - Evaluation metricstoefl_evaluation_results.png - Visualization of resultslora_config.json - LoRA training configurationPlatform: Apple Silicon Mac (M1/M2/M3) - This application uses MLX framework Python: 3.9 or higher
Install the required packages:
pip install -r requirements.txt
Or manually install:
pip install streamlit mlx mlx-lm pandas transformers peft torch
Clone or download this repository
Install dependencies:
pip install -r requirements.txt
Download the base Llama 3.2 model:
The application requires the base Llama 3.2 model. You can download it from:
meta-llama/Llama-3.2-3B or meta-llama/Llama-3.2-1BUpdate model paths in the application code:
Edit toefl_judge_app.py and set the correct paths for:
model_path: Path to your base Llama 3.2 modeladapter_path: Path to the downloaded adapter (from this repo)from transformers import AutoModelForCausalLM, AutoTokenizer
from peft import PeftModel
# Load base model
base_model = AutoModelForCausalLM.from_pretrained("meta-llama/Llama-3.2-3B")
tokenizer = AutoTokenizer.from_pretrained("meta-llama/Llama-3.2-3B")
# Load LoRA adapter
model = PeftModel.from_pretrained(base_model, "Ylemnox/llama-toefl-checkbot/toefl_judge_adapter")
streamlit run toefl_judge_app.py
The web interface will open in your browser where you can:
python cli.py
# 1. Install dependencies
pip install -r requirements.txt
# 2. Download this repository
git clone https://huggingface.co/Ylemnox/llama-toefl-checkbot
cd llama-toefl-checkbot
# 3. Run the web app (make sure to set model paths first)
streamlit run toefl_judge_app.py
The model was trained using LoRA with the following configuration:
lora_config.jsonEvaluation metrics and visualizations are available in:
toefl_evaluations.csv - Detailed metricstoefl_evaluation_results.png - Performance visualizationPlease ensure compliance with Meta's Llama license when using this model.
If you use this model, please cite:
@misc{llama-toefl-checkbot,
author = {Davis Kwak},
title = {TOEFL Speaking Evaluation Model},
year = {2025},
publisher = {Hugging Face},
howpublished = {\url{https://huggingface.co/Ylemnox/llama-toefl-checkbot}}
}