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

mie00
/
autoeq

Text Generation
ONNX
Transformers
English
latex
math
seq2seq
onnxruntime-web
Model card Files Files and versions
xet
Community

Instructions to use mie00/autoeq with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use mie00/autoeq with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-generation", model="mie00/autoeq")
    # pip install -U transformers accelerate
    # Load model directly
    from transformers import AutoModel
    model = AutoModel.from_pretrained("mie00/autoeq", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps Settings
  • vLLM

    How to use mie00/autoeq with vLLM:

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

    How to use mie00/autoeq 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 "mie00/autoeq" \
        --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": "mie00/autoeq",
    		"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 "mie00/autoeq" \
            --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": "mie00/autoeq",
    		"prompt": "Once upon a time,",
    		"max_tokens": 512,
    		"temperature": 0.5
    	}'
  • Docker Model Runner

    How to use mie00/autoeq with Docker Model Runner:

    docker model run hf.co/mie00/autoeq
autoeq
175 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 8 commits
mie00's picture
mie00
v1.4: pass-through for unmodelled macros, vocab 255 -> 420, faster beam
aafc26e verified about 1 month ago
  • .gitattributes
    1.52 kB
    initial commit about 1 month ago
  • LICENSE
    11.4 kB
    autoeq v1.2: 3.3M-param plaintext-math→LaTeX model (pt + ONNX fp32/int8 + vocab) about 1 month ago
  • README.md
    5.8 kB
    v1.4: pass-through for unmodelled macros, vocab 255 -> 420, faster beam about 1 month ago
  • autoeq-v1.2.pt
    52.3 MB
    xet
    autoeq v1.2: 3.3M-param plaintext-math→LaTeX model (pt + ONNX fp32/int8 + vocab) about 1 month ago
  • autoeq-v1.3.pt
    52.3 MB
    xet
    v1.3: styled identifiers, upright labels, Greek case alternatives about 1 month ago
  • autoeq-v1.4.pt
    52.8 MB
    xet
    v1.4: pass-through for unmodelled macros, vocab 255 -> 420, faster beam about 1 month ago
  • decoder.int8.onnx
    2.21 MB
    xet
    v1.4: pass-through for unmodelled macros, vocab 255 -> 420, faster beam about 1 month ago
  • decoder.onnx
    6.87 MB
    xet
    v1.4: pass-through for unmodelled macros, vocab 255 -> 420, faster beam about 1 month ago
  • encoder.int8.onnx
    1.98 MB
    xet
    v1.4: pass-through for unmodelled macros, vocab 255 -> 420, faster beam about 1 month ago
  • encoder.onnx
    6.64 MB
    xet
    v1.4: pass-through for unmodelled macros, vocab 255 -> 420, faster beam about 1 month ago
  • vocab.json
    8.06 kB
    v1.4: pass-through for unmodelled macros, vocab 255 -> 420, faster beam about 1 month ago