google-deepmind/gemma-2-2b 🔢📝 → 📝
About
Gemma2 2b by Google

Example Output
Prompt:
"The theory of special relativity states "
Output
(a) that the speed of light is constant in all inertial frames. (b) that mass increases with the strength of a gravitational field. (c) that time passes more slowly for objects moving near the speed of light. (d) that the speed of light is constant for all observers relative to an electromagnetic
Performance Metrics
4.12s
Prediction Time
4.13s
Total Time
All Input Parameters
{ "top_k": 50, "top_p": 0.9, "prompt": "The theory of special relativity states ", "temperature": 0.6, "max_new_tokens": 64, "repetition_penalty": 1.2 }
Input Parameters
- top_k
- When decoding text, samples from the top k most likely tokens; lower to ignore less likely tokens
- top_p
- When decoding text, samples from the top p percentage of most likely tokens; lower to ignore less likely tokens
- prompt
- Prompt to send to the model.
- temperature
- Adjusts randomness of outputs, greater than 1 is random and 0 is deterministic, 0.75 is a good starting value.
- max_new_tokens
- Maximum number of tokens to generate. A word is generally 2-3 tokens
- repetition_penalty
- Repetition penalty parameter.
Output Schema
Output
Version Details
- Version ID
996e491a2cc5abe01bfe9371a791c8a0242172474e4ac5931671379d89961dec
- Version Created
- August 1, 2024