Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

Ylemnox
/
llama-toefl-checkbot

Text Generation
Transformers
PEFT
English
llama
llama-3.2
lora
toefl
education
speaking-assessment
evaluation
fine-tuned
Model card Files Files and versions
xet
Community

Instructions to use Ylemnox/llama-toefl-checkbot with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use Ylemnox/llama-toefl-checkbot with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-generation", model="Ylemnox/llama-toefl-checkbot")
    # Load model directly
    from transformers import AutoModel
    model = AutoModel.from_pretrained("Ylemnox/llama-toefl-checkbot", device_map="auto")
  • PEFT

    How to use Ylemnox/llama-toefl-checkbot with PEFT:

    Task type is invalid.
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps Settings
  • vLLM

    How to use Ylemnox/llama-toefl-checkbot with vLLM:

    Install from pip and serve model
    # Install vLLM from pip:
    pip install vllm
    # Start the vLLM server:
    vllm serve "Ylemnox/llama-toefl-checkbot"
    # Call the server using curl (OpenAI-compatible API):
    curl -X POST "http://localhost:8000/v1/completions" \
    	-H "Content-Type: application/json" \
    	--data '{
    		"model": "Ylemnox/llama-toefl-checkbot",
    		"prompt": "Once upon a time,",
    		"max_tokens": 512,
    		"temperature": 0.5
    	}'
    Use Docker
    docker model run hf.co/Ylemnox/llama-toefl-checkbot
  • SGLang

    How to use Ylemnox/llama-toefl-checkbot with SGLang:

    Install from pip and serve model
    # Install SGLang from pip:
    pip install sglang
    # Start the SGLang server:
    python3 -m sglang.launch_server \
        --model-path "Ylemnox/llama-toefl-checkbot" \
        --host 0.0.0.0 \
        --port 30000
    # Call the server using curl (OpenAI-compatible API):
    curl -X POST "http://localhost:30000/v1/completions" \
    	-H "Content-Type: application/json" \
    	--data '{
    		"model": "Ylemnox/llama-toefl-checkbot",
    		"prompt": "Once upon a time,",
    		"max_tokens": 512,
    		"temperature": 0.5
    	}'
    Use Docker images
    docker run --gpus all \
        --shm-size 32g \
        -p 30000:30000 \
        -v ~/.cache/huggingface:/root/.cache/huggingface \
        --env "HF_TOKEN=<secret>" \
        --ipc=host \
        lmsysorg/sglang:latest \
        python3 -m sglang.launch_server \
            --model-path "Ylemnox/llama-toefl-checkbot" \
            --host 0.0.0.0 \
            --port 30000
    # Call the server using curl (OpenAI-compatible API):
    curl -X POST "http://localhost:30000/v1/completions" \
    	-H "Content-Type: application/json" \
    	--data '{
    		"model": "Ylemnox/llama-toefl-checkbot",
    		"prompt": "Once upon a time,",
    		"max_tokens": 512,
    		"temperature": 0.5
    	}'
  • Docker Model Runner

    How to use Ylemnox/llama-toefl-checkbot with Docker Model Runner:

    docker model run hf.co/Ylemnox/llama-toefl-checkbot
llama-toefl-checkbot
61.7 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 18 commits
Ylemnox's picture
Ylemnox
Upload README.md with huggingface_hub
7b2f44f verified 8 months ago
  • toefl_judge_adapter
    Upload folder using huggingface_hub 8 months ago
  • .gitattributes
    1.58 kB
    Upload toefl_evaluation_results.png with huggingface_hub 8 months ago
  • README.md
    4.46 kB
    Upload README.md with huggingface_hub 8 months ago
  • cli.py
    9.81 kB
    Upload cli.py with huggingface_hub 8 months ago
  • data_formatter.py
    9.26 kB
    Upload data_formatter.py with huggingface_hub 8 months ago
  • evaluator.py
    17 kB
    Upload evaluator.py with huggingface_hub 8 months ago
  • fine_tune.py
    9.24 kB
    Upload fine_tune.py with huggingface_hub 8 months ago
  • lora_config.json
    86 Bytes
    Upload lora_config.json with huggingface_hub 8 months ago
  • requirements.txt
    103 Bytes
    Upload requirements.txt with huggingface_hub 8 months ago
  • toefl_evaluation_results.png
    285 kB
    xet
    Upload toefl_evaluation_results.png with huggingface_hub 8 months ago
  • toefl_evaluations.csv
    2.94 kB
    Upload toefl_evaluations.csv with huggingface_hub 8 months ago
  • toefl_judge_app.py
    10 kB
    Upload toefl_judge_app.py with huggingface_hub 8 months ago
  • toefl_predictions.csv
    283 kB
    Upload toefl_predictions.csv with huggingface_hub 8 months ago
  • toefl_speaking_data_test.jsonl
    666 kB
    Upload toefl_speaking_data_test.jsonl with huggingface_hub 8 months ago
  • train.jsonl
    1.97 MB
    Upload train.jsonl with huggingface_hub 8 months ago
  • valid.jsonl
    657 kB
    Upload valid.jsonl with huggingface_hub 8 months ago