Downloads · 30 days
16
1% of all-time downloads
haesleinhuepf/gemma-2b-it-bia-proof-of-concept2
gemma-2b-it-bia-proof-of-concept2 is a text generation model from haesleinhuepf. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as gemma.
This is a proof-of-concept model. It is not properly trained. Do not use it for anything.
Downloads · 30 days
16
1% of all-time downloads
All-time downloads
1.4K
Public
Parameters
2.5B
7.2 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors7.2 GB · 100%
From the Hugging Face model README
This is a proof-of-concept model. It is not properly trained. Do not use it for anything.
Gemma is provided under and subject to the Gemma Terms of Use found at ai.google.dev/gemma/terms
Use the code below to get started with the model.
def prompt_hf(request, model="haesleinhuepf/gemma-2b-it-bia-proof-of-concept2"):
global prompt_hf
import transformers
import torch
if prompt_hf._pipeline is None:
prompt_hf._pipeline = transformers.pipeline(
"text-generation", model=model, model_kwargs={"torch_dtype": torch.bfloat16}, device_map="auto"
)
return prompt_hf._pipeline(request)[0]['generated_text']
prompt_hf._pipeline = None
prompt_hf("What is the capital of France?")
https://huggingface.co/datasets/haesleinhuepf/bio-image-analysis-qa
robert dot haase at uni minus leipzig dot de