cyberagent / calm2-7b

huggingface.co
Total runs: 1.1K
24-hour runs: 19
7-day runs: 35
30-day runs: -94
Model's Last Updated: November 02 2023
text-generation

Introduction of calm2-7b

Model Details of calm2-7b

CyberAgentLM2-7B (CALM2-7B)

Model Description

CyberAgentLM2 is a decoder-only language model pre-trained on the 1.3T tokens of publicly available Japanese and English datasets.

Variant: CyberAgentLM2-Chat

Requirements
  • transformers >= 4.34.1
  • accelerate
Usage
import transformers
from transformers import AutoModelForCausalLM, AutoTokenizer, TextStreamer

assert transformers.__version__ >= "4.34.1"

model = AutoModelForCausalLM.from_pretrained("cyberagent/calm2-7b", device_map="auto", torch_dtype="auto")
tokenizer = AutoTokenizer.from_pretrained("cyberagent/calm2-7b")
streamer = TextStreamer(tokenizer, skip_prompt=True, skip_special_tokens=True)

prompt = "AIによって私達の暮らしは、"

token_ids = tokenizer.encode(prompt, return_tensors="pt")
output_ids = model.generate(
    input_ids=token_ids.to(model.device),
    max_new_tokens=100,
    do_sample=True,
    temperature=0.9,
    streamer=streamer,
)
Model Details
  • Model size : 7B
  • Trained tokens : 1.3T tokens
  • Context length : 4096
  • Model type : Transformer-based Language Model
  • Language(s) : Japanese, English
  • Developed by : CyberAgent, Inc.
  • License : Apache-2.0
Author

Ryosuke Ishigami

Citations
@article{touvron2023llama,
  title={LLaMA: Open and Efficient Foundation Language Models},
  author={Touvron, Hugo and Lavril, Thibaut and Izacard, Gautier and Martinet, Xavier and Lachaux, Marie-Anne and Lacroix, Timoth{\'e}e and Rozi{\`e}re, Baptiste and Goyal, Naman and Hambro, Eric and Azhar, Faisal and Rodriguez, Aurelien and Joulin, Armand and Grave, Edouard and Lample, Guillaume},
  journal={arXiv preprint arXiv:2302.13971},
  year={2023}
}

Runs of cyberagent calm2-7b on huggingface.co

1.1K
Total runs
19
24-hour runs
38
3-day runs
35
7-day runs
-94
30-day runs

More Information About calm2-7b huggingface.co Model

More calm2-7b license Visit here:

https://choosealicense.com/licenses/apache-2.0

calm2-7b huggingface.co

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

cyberagent calm2-7b online free

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

cyberagent calm2-7b online free url in huggingface.co:

https://huggingface.co/cyberagent/calm2-7b

calm2-7b install

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

calm2-7b install url in huggingface.co:

https://huggingface.co/cyberagent/calm2-7b

Url of calm2-7b

Provider of calm2-7b huggingface.co

cyberagent
ORGANIZATIONS

Other API from cyberagent

huggingface.co

Total runs: 22
Run Growth: 10
Growth Rate: 45.45%
Updated:January 09 2026
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:May 20 2025