Views
No views yet
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 configurationpip install -r requirements.txtpip install streamlit mlx mlx-lm pandas transformers peft torchpip install -r requirements.txtmeta-llama/Llama-3.2-3B or meta-llama/Llama-3.2-1Btoefl_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)1from transformers import AutoModelForCausalLM, AutoTokenizer
2from peft import PeftModel
3
4# Load base model
5base_model = AutoModelForCausalLM.from_pretrained("meta-llama/Llama-3.2-3B")
6tokenizer = AutoTokenizer.from_pretrained("meta-llama/Llama-3.2-3B")
7
8# Load LoRA adapter
9model = PeftModel.from_pretrained(base_model, "Ylemnox/llama-toefl-checkbot/toefl_judge_adapter")streamlit run toefl_judge_app.pypython cli.py1# 1. Install dependencies
2pip install -r requirements.txt
3
4# 2. Download this repository
5git clone https://huggingface.co/Ylemnox/llama-toefl-checkbot
6cd llama-toefl-checkbot
7
8# 3. Run the web app (make sure to set model paths first)
9streamlit run toefl_judge_app.pylora_config.jsontoefl_evaluations.csv - Detailed metricstoefl_evaluation_results.png - Performance visualization1@misc{llama-toefl-checkbot,
2 author = {Davis Kwak},
3 title = {TOEFL Speaking Evaluation Model},
4 year = {2025},
5 publisher = {Hugging Face},
6 howpublished = {\url{https://huggingface.co/Ylemnox/llama-toefl-checkbot}}
7}