h2oai / llama2-0b-unit-test

huggingface.co
Total runs: 315
24-hour runs: 0
7-day runs: 1
30-day runs: 136
Model's Last Updated: February 28 2024
text-generation

Introduction of llama2-0b-unit-test

Model Details of llama2-0b-unit-test

Small dummy LLama2-type Model useable for Unit/Integration tests. Suitable for CPU only machines, see H2O LLM Studio for an example integration test.

Model was created as follows:

from transformers import AutoConfig, AutoTokenizer, AutoModelForCausalLM

repo_name = "h2oai/llama2-0b-unit-test"
model_name = "h2oai/h2ogpt-4096-llama2-7b-chat"
config = AutoConfig.from_pretrained(model_name)
config.hidden_size = 12
config.max_position_embeddings = 1024
config.intermediate_size = 24
config.num_attention_heads = 2
config.num_hidden_layers = 2
config.num_key_value_heads = 2

tokenizer = AutoTokenizer.from_pretrained(model_name)

model = AutoModelForCausalLM.from_config(config)
print(model.num_parameters())  # 770_940

model.push_to_hub(repo_name, private=False)
tokenizer.push_to_hub(repo_name, private=False)
config.push_to_hub(repo_name, private=False)

Use the following configuration in H2O LLM Studio to run a complete experiment in 5 seconds using the default dataset and default settings otherwise:

Validation Size: 0.1
Data Sample: 0.1
Max Length Prompt: 32
Max Length Answer: 32
Max Length: 64
Backbone Dtype: float16
Gradient Checkpointing: False
Batch Size: 8
Max Length Inference: 16

Runs of h2oai llama2-0b-unit-test on huggingface.co

315
Total runs
0
24-hour runs
1
3-day runs
1
7-day runs
136
30-day runs

More Information About llama2-0b-unit-test huggingface.co Model

llama2-0b-unit-test huggingface.co

llama2-0b-unit-test huggingface.co is an AI model on huggingface.co that provides llama2-0b-unit-test's model effect (), which can be used instantly with this h2oai llama2-0b-unit-test model. huggingface.co supports a free trial of the llama2-0b-unit-test model, and also provides paid use of the llama2-0b-unit-test. Support call llama2-0b-unit-test model through api, including Node.js, Python, http.

llama2-0b-unit-test huggingface.co Url

https://huggingface.co/h2oai/llama2-0b-unit-test

h2oai llama2-0b-unit-test online free

llama2-0b-unit-test huggingface.co is an online trial and call api platform, which integrates llama2-0b-unit-test's modeling effects, including api services, and provides a free online trial of llama2-0b-unit-test, you can try llama2-0b-unit-test online for free by clicking the link below.

h2oai llama2-0b-unit-test online free url in huggingface.co:

https://huggingface.co/h2oai/llama2-0b-unit-test

llama2-0b-unit-test install

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

llama2-0b-unit-test install url in huggingface.co:

https://huggingface.co/h2oai/llama2-0b-unit-test

Url of llama2-0b-unit-test

llama2-0b-unit-test huggingface.co Url

Provider of llama2-0b-unit-test huggingface.co

h2oai
ORGANIZATIONS

Other API from h2oai

huggingface.co

Total runs: 76
Run Growth: 0
Growth Rate: 0.00%
Updated:September 18 2024
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:May 30 2023