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
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

itay1itzhak
/
OLMo-Flan-Seed-0

Text Generation
Transformers
Safetensors
English
hf_olmo
language-modeling
causal-lm
bias-analysis
cognitive-bias
seed
bias
randomness
custom_code
Model card Files Files and versions
xet
Community
1

Instructions to use itay1itzhak/OLMo-Flan-Seed-0 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use itay1itzhak/OLMo-Flan-Seed-0 with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-generation", model="itay1itzhak/OLMo-Flan-Seed-0", trust_remote_code=True)
    # Load model directly
    from transformers import AutoModelForCausalLM
    model = AutoModelForCausalLM.from_pretrained("itay1itzhak/OLMo-Flan-Seed-0", trust_remote_code=True, dtype="auto")
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps
  • vLLM

    How to use itay1itzhak/OLMo-Flan-Seed-0 with vLLM:

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

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

    How to use itay1itzhak/OLMo-Flan-Seed-0 with Docker Model Runner:

    docker model run hf.co/itay1itzhak/OLMo-Flan-Seed-0
OLMo-Flan-Seed-0
27.6 GB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 6 commits
itay1itzhak's picture
itay1itzhak
nielsr's picture
nielsr HF Staff
Add link to project page (#1)
e96ffc4 verified 10 months ago
  • .gitattributes
    1.52 kB
    initial commit 11 months ago
  • README.md
    2.44 kB
    Add link to project page (#1) 10 months ago
  • config.json
    1.59 kB
    Upload OLMoForCausalLM 11 months ago
  • configuration_olmo.py
    1.26 kB
    Upload OLMoForCausalLM 11 months ago
  • generation_config.json
    115 Bytes
    Upload OLMoForCausalLM 11 months ago
  • model-00001-of-00006.safetensors
    4.94 GB
    xet
    Upload OLMoForCausalLM 11 months ago
  • model-00002-of-00006.safetensors
    4.86 GB
    xet
    Upload OLMoForCausalLM 11 months ago
  • model-00003-of-00006.safetensors
    4.86 GB
    xet
    Upload OLMoForCausalLM 11 months ago
  • model-00004-of-00006.safetensors
    4.86 GB
    xet
    Upload OLMoForCausalLM 11 months ago
  • model-00005-of-00006.safetensors
    4.86 GB
    xet
    Upload OLMoForCausalLM 11 months ago
  • model-00006-of-00006.safetensors
    3.19 GB
    xet
    Upload OLMoForCausalLM 11 months ago
  • model.safetensors.index.json
    11.2 kB
    Upload OLMoForCausalLM 11 months ago
  • modeling_olmo.py
    9.62 kB
    Upload OLMoForCausalLM 11 months ago
  • special_tokens_map.json
    439 Bytes
    Upload tokenizer 11 months ago
  • tokenization_olmo_fast.py
    645 Bytes
    Upload tokenizer 11 months ago
  • tokenizer.json
    2.12 MB
    Upload tokenizer 11 months ago
  • tokenizer_config.json
    5.5 kB
    Upload tokenizer 11 months ago