Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets
  • 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

tjarvis91
/
qovaryx-1b-scratch-base

Text Generation
Transformers
PyTorch
English
qovaryx
research
random-init
scratch-base
pretraining
custom_code
Model card Files Files and versions
xet
Community
1

Instructions to use tjarvis91/qovaryx-1b-scratch-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use tjarvis91/qovaryx-1b-scratch-base with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-generation", model="tjarvis91/qovaryx-1b-scratch-base", trust_remote_code=True)
    # pip install -U transformers accelerate
    # Load model directly
    from transformers import AutoModelForCausalLM
    model = AutoModelForCausalLM.from_pretrained("tjarvis91/qovaryx-1b-scratch-base", trust_remote_code=True, device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps Settings
  • vLLM

    How to use tjarvis91/qovaryx-1b-scratch-base with vLLM:

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

    How to use tjarvis91/qovaryx-1b-scratch-base 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 "tjarvis91/qovaryx-1b-scratch-base" \
        --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": "tjarvis91/qovaryx-1b-scratch-base",
    		"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 "tjarvis91/qovaryx-1b-scratch-base" \
            --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": "tjarvis91/qovaryx-1b-scratch-base",
    		"prompt": "Once upon a time,",
    		"max_tokens": 512,
    		"temperature": 0.5
    	}'
  • Docker Model Runner

    How to use tjarvis91/qovaryx-1b-scratch-base with Docker Model Runner:

    docker model run hf.co/tjarvis91/qovaryx-1b-scratch-base
qovaryx-1b-scratch-base
2.14 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 13 commits
tjarvis91's picture
tjarvis91
Correct research claims and current project status
f151a37 verified about 2 months ago
  • .gitattributes
    1.52 kB
    initial commit 6 months ago
  • README.md
    3.29 kB
    Correct research claims and current project status about 2 months ago
  • _qovaryx_decoder.py
    28.3 kB
    Initial release: Qovaryx random-init scratch base, Apache-2.0 6 months ago
  • config.json
    1.11 kB
    Initial release: Qovaryx random-init scratch base, Apache-2.0 6 months ago
  • configuration_qovaryx.py
    2.64 kB
    Initial release: Qovaryx random-init scratch base, Apache-2.0 6 months ago
  • generation_config.json
    113 Bytes
    Initial release: Qovaryx random-init scratch base, Apache-2.0 6 months ago
  • modeling_qovaryx.py
    3.26 kB
    Initial release: Qovaryx random-init scratch base, Apache-2.0 6 months ago
  • pytorch_model.bin

    Detected Pickle imports (3)

    • "torch._utils._rebuild_tensor_v2",
    • "torch.BFloat16Storage",
    • "collections.OrderedDict"

    What is a pickle import?

    2.14 GB
    xet
    Initial release: Qovaryx random-init scratch base, Apache-2.0 6 months ago
  • tokenizer.json
    1.34 MB
    Initial release: Qovaryx random-init scratch base, Apache-2.0 6 months ago
  • tokenizer_config.json
    178 Bytes
    Initial release: Qovaryx random-init scratch base, Apache-2.0 6 months ago
  • train_quickstart.py
    4.82 kB
    Initial release: Qovaryx random-init scratch base, Apache-2.0 6 months ago