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

tjarvis91
/
qovaryx-350m-scratch-base

Text Generation
Transformers
PyTorch
English
qovaryx
pretraining
from-scratch
random-init
scratch-base
decoder
causal-lm
causal-language-model
transformer
compact-llm
compact-ai
consumer-gpu
local-ai
on-device
edge-ai
16gb-vram
rtx-4090
rtx-5090
rtx-5070-ti
small-language-model
tiny-llm
nanogpt
pretraining-template
mtp
multi-token-prediction
gqa
grouped-query-attention
swiglu
ternary-swiglu
bitnet
Mixture of Experts
mixture-of-experts
sparse-moe
low-rank
flash-attention-2
blackwell
sm120
own-base
sovereign-ai
custom_code
Model card Files Files and versions
xet
Community
1

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

  • Libraries
  • Transformers

    How to use tjarvis91/qovaryx-350m-scratch-base with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-generation", model="tjarvis91/qovaryx-350m-scratch-base", trust_remote_code=True)
    # Load model directly
    from transformers import AutoModelForCausalLM
    model = AutoModelForCausalLM.from_pretrained("tjarvis91/qovaryx-350m-scratch-base", trust_remote_code=True, dtype="auto")
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps
  • vLLM

    How to use tjarvis91/qovaryx-350m-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-350m-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-350m-scratch-base",
    		"prompt": "Once upon a time,",
    		"max_tokens": 512,
    		"temperature": 0.5
    	}'
    Use Docker
    docker model run hf.co/tjarvis91/qovaryx-350m-scratch-base
  • SGLang

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

    How to use tjarvis91/qovaryx-350m-scratch-base with Docker Model Runner:

    docker model run hf.co/tjarvis91/qovaryx-350m-scratch-base
qovaryx-350m-scratch-base
694 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
tjarvis91's picture
tjarvis91
Initial release: Qovaryx random-init scratch base, Apache-2.0
9cdb2ab verified about 12 hours ago
  • .gitattributes
    1.52 kB
    initial commit about 12 hours ago
  • README.md
    16.6 kB
    Initial release: Qovaryx random-init scratch base, Apache-2.0 about 12 hours ago
  • _qovaryx_decoder.py
    28.3 kB
    Initial release: Qovaryx random-init scratch base, Apache-2.0 about 12 hours ago
  • config.json
    1.11 kB
    Initial release: Qovaryx random-init scratch base, Apache-2.0 about 12 hours ago
  • configuration_qovaryx.py
    2.64 kB
    Initial release: Qovaryx random-init scratch base, Apache-2.0 about 12 hours ago
  • generation_config.json
    113 Bytes
    Initial release: Qovaryx random-init scratch base, Apache-2.0 about 12 hours ago
  • modeling_qovaryx.py
    3.26 kB
    Initial release: Qovaryx random-init scratch base, Apache-2.0 about 12 hours ago
  • pytorch_model.bin

    Detected Pickle imports (3)

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

    What is a pickle import?

    693 MB
    xet
    Initial release: Qovaryx random-init scratch base, Apache-2.0 about 12 hours ago
  • tokenizer.json
    1.34 MB
    Initial release: Qovaryx random-init scratch base, Apache-2.0 about 12 hours ago
  • tokenizer_config.json
    178 Bytes
    Initial release: Qovaryx random-init scratch base, Apache-2.0 about 12 hours ago
  • train_quickstart.py
    4.82 kB
    Initial release: Qovaryx random-init scratch base, Apache-2.0 about 12 hours ago