onnx-community / tiny-random-LlamaForCausalLM-ONNX

huggingface.co
Total runs: 954
24-hour runs: 0
7-day runs: 0
30-day runs: 694
Model's Last Updated: October 17 2024
text-generation

Introduction of tiny-random-LlamaForCausalLM-ONNX

Model Details of tiny-random-LlamaForCausalLM-ONNX

Model Card for Model ID

Model Details
Code to generate
import torch
from transformers import LlamaForCausalLM, LlamaConfig, AutoTokenizer

# Set seed for reproducibility
torch.manual_seed(0)

# Initializing the configuration
configuration = LlamaConfig(
  head_dim=16,
  hidden_size=32,
  intermediate_size=64,
  max_position_embeddings=131072,
  model_type="llama",
  num_attention_heads=2,
  num_hidden_layers=1,
  num_key_value_heads=2,
  rms_norm_eps=1e-05,
  rope_scaling={
    "factor": 32.0,
    "high_freq_factor": 4.0,
    "low_freq_factor": 1.0,
    "original_max_position_embeddings": 8192,
    "rope_type": "llama3"
  },
  rope_theta=500000.0,
  tie_word_embeddings=True,
  vocab_size=128256,
)

# Initializing a model from the configuration
model = LlamaForCausalLM(configuration)

# Re-use tokenizer
tokenizer = AutoTokenizer.from_pretrained("Xenova/Llama-3.2-Tokenizer")

# Upload to the HF Hub
model_id = 'onnx-community/tiny-random-LlamaForCausalLM-ONNX'
model.push_to_hub(model_id)
tokenizer.push_to_hub(model_id)
Model Description

This is the model card of a 🤗 transformers model that has been pushed on the Hub. This model card has been automatically generated.

  • Developed by: [More Information Needed]
  • Funded by [optional]: [More Information Needed]
  • Shared by [optional]: [More Information Needed]
  • Model type: [More Information Needed]
  • Language(s) (NLP): [More Information Needed]
  • License: [More Information Needed]
  • Finetuned from model [optional]: [More Information Needed]
Model Sources [optional]
  • Repository: [More Information Needed]
  • Paper [optional]: [More Information Needed]
  • Demo [optional]: [More Information Needed]
Uses
Direct Use

[More Information Needed]

Downstream Use [optional]

[More Information Needed]

Out-of-Scope Use

[More Information Needed]

Bias, Risks, and Limitations

[More Information Needed]

Recommendations

Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.

How to Get Started with the Model

Use the code below to get started with the model.

[More Information Needed]

Training Details
Training Data

[More Information Needed]

Training Procedure
Preprocessing [optional]

[More Information Needed]

Training Hyperparameters
  • Training regime: [More Information Needed]
Speeds, Sizes, Times [optional]

[More Information Needed]

Evaluation
Testing Data, Factors & Metrics
Testing Data

[More Information Needed]

Factors

[More Information Needed]

Metrics

[More Information Needed]

Results

[More Information Needed]

Summary
Model Examination [optional]

[More Information Needed]

Environmental Impact

Carbon emissions can be estimated using the Machine Learning Impact calculator presented in Lacoste et al. (2019) .

  • Hardware Type: [More Information Needed]
  • Hours used: [More Information Needed]
  • Cloud Provider: [More Information Needed]
  • Compute Region: [More Information Needed]
  • Carbon Emitted: [More Information Needed]
Technical Specifications [optional]
Model Architecture and Objective

[More Information Needed]

Compute Infrastructure

[More Information Needed]

Hardware

[More Information Needed]

Software

[More Information Needed]

Citation [optional]

BibTeX:

[More Information Needed]

APA:

[More Information Needed]

Glossary [optional]

[More Information Needed]

More Information [optional]

[More Information Needed]

Model Card Authors [optional]

[More Information Needed]

Model Card Contact

[More Information Needed]

Runs of onnx-community tiny-random-LlamaForCausalLM-ONNX on huggingface.co

954
Total runs
0
24-hour runs
0
3-day runs
0
7-day runs
694
30-day runs

More Information About tiny-random-LlamaForCausalLM-ONNX huggingface.co Model

tiny-random-LlamaForCausalLM-ONNX huggingface.co

tiny-random-LlamaForCausalLM-ONNX huggingface.co is an AI model on huggingface.co that provides tiny-random-LlamaForCausalLM-ONNX's model effect (), which can be used instantly with this onnx-community tiny-random-LlamaForCausalLM-ONNX model. huggingface.co supports a free trial of the tiny-random-LlamaForCausalLM-ONNX model, and also provides paid use of the tiny-random-LlamaForCausalLM-ONNX. Support call tiny-random-LlamaForCausalLM-ONNX model through api, including Node.js, Python, http.

tiny-random-LlamaForCausalLM-ONNX huggingface.co Url

https://huggingface.co/onnx-community/tiny-random-LlamaForCausalLM-ONNX

onnx-community tiny-random-LlamaForCausalLM-ONNX online free

tiny-random-LlamaForCausalLM-ONNX huggingface.co is an online trial and call api platform, which integrates tiny-random-LlamaForCausalLM-ONNX's modeling effects, including api services, and provides a free online trial of tiny-random-LlamaForCausalLM-ONNX, you can try tiny-random-LlamaForCausalLM-ONNX online for free by clicking the link below.

onnx-community tiny-random-LlamaForCausalLM-ONNX online free url in huggingface.co:

https://huggingface.co/onnx-community/tiny-random-LlamaForCausalLM-ONNX

tiny-random-LlamaForCausalLM-ONNX install

tiny-random-LlamaForCausalLM-ONNX is an open source model from GitHub that offers a free installation service, and any user can find tiny-random-LlamaForCausalLM-ONNX on GitHub to install. At the same time, huggingface.co provides the effect of tiny-random-LlamaForCausalLM-ONNX install, users can directly use tiny-random-LlamaForCausalLM-ONNX installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

tiny-random-LlamaForCausalLM-ONNX install url in huggingface.co:

https://huggingface.co/onnx-community/tiny-random-LlamaForCausalLM-ONNX

Url of tiny-random-LlamaForCausalLM-ONNX

tiny-random-LlamaForCausalLM-ONNX huggingface.co Url

Provider of tiny-random-LlamaForCausalLM-ONNX huggingface.co

onnx-community
ORGANIZATIONS

Other API from onnx-community