cloudyu / google-gemma-7b-chinese-sft-v1

huggingface.co
Total runs: 32
24-hour runs: -1
7-day runs: 4
30-day runs: 9
Model's Last Updated: February 26 2024
text-generation

Introduction of google-gemma-7b-chinese-sft-v1

Model Details of google-gemma-7b-chinese-sft-v1

This is a fine-tuned Chinese & English Chat mode based on google/gemma-7b using c-s-ale/alpaca-gpt4-data-zh dataset

example code



import torch
from transformers import AutoTokenizer, AutoModelForCausalLM
import math

## v2 models
model_path = "cloudyu/google-gemma-7b-chinese-sft-v1"

tokenizer = AutoTokenizer.from_pretrained(model_path, use_default_system_prompt=False)
model = AutoModelForCausalLM.from_pretrained(
        model_path, torch_dtype=torch.bfloat16, device_map='auto',local_files_only=False
)
print(model)
prompt = input("please input prompt:")
while len(prompt) > 0:
  prompt = f"{prompt}"
  input_ids = tokenizer(prompt, return_tensors="pt").input_ids.to("cuda")

  generation_output = model.generate(
    input_ids=input_ids, max_new_tokens=500,repetition_penalty=1.1
  )
  print(tokenizer.decode(generation_output[0]))
  prompt = input("please input prompt:")

Template


"<bos>{instruction} {input}\n{output}\n<eos>"

example output

<bos>如何写一封申请加薪的邮件? <built-in function input>
您好,

以下是您可以参考的一份示例电子邮件:


主题: 要求增加工资 - [您的姓名] (Your Name)



尊敬的主管 / HR 部门 ([Name of Manager or Department]) :




我非常感谢您给予我的机会并为公司做出贡献。我很乐意报告我在过去几个月的表现和成果, 并希望这些可以支持我对提高 my salary 的请求. 我相信这将是一个公平的要求并且能够帮助我们一起推动公司的成功发展 .





在过去的几月里 , 我的工作质量得到了提升 ,同时我也取得了重要的成绩 。例如 ... (在此处列出一些具体的事实证明你的努力)






此外 I have also been able to take on additional responsibilities and projects that demonstrate the value i bring  to our team as a whole .(If applicable add here your achievements in this area.)







我希望通过这个信件来表达对未来继续与该公司合作的机会以及期待进一步改善自己能力以更好地服务于客户的需求 和 公司的发展方向 一致性的信心!谢谢你们考虑此问题并在将来可能采取行动之前提供任何建议或反馈意见!








敬礼 !









[ Your name ]<eos>

Runs of cloudyu google-gemma-7b-chinese-sft-v1 on huggingface.co

32
Total runs
-1
24-hour runs
-1
3-day runs
4
7-day runs
9
30-day runs

More Information About google-gemma-7b-chinese-sft-v1 huggingface.co Model

More google-gemma-7b-chinese-sft-v1 license Visit here:

https://choosealicense.com/licenses/cc-by-nc-nd-4.0

google-gemma-7b-chinese-sft-v1 huggingface.co

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

google-gemma-7b-chinese-sft-v1 huggingface.co Url

https://huggingface.co/cloudyu/google-gemma-7b-chinese-sft-v1

cloudyu google-gemma-7b-chinese-sft-v1 online free

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

cloudyu google-gemma-7b-chinese-sft-v1 online free url in huggingface.co:

https://huggingface.co/cloudyu/google-gemma-7b-chinese-sft-v1

google-gemma-7b-chinese-sft-v1 install

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

google-gemma-7b-chinese-sft-v1 install url in huggingface.co:

https://huggingface.co/cloudyu/google-gemma-7b-chinese-sft-v1

Url of google-gemma-7b-chinese-sft-v1

google-gemma-7b-chinese-sft-v1 huggingface.co Url

Provider of google-gemma-7b-chinese-sft-v1 huggingface.co

cloudyu
ORGANIZATIONS

Other API from cloudyu

huggingface.co

Total runs: 915
Run Growth: 512
Growth Rate: 55.96%
Updated:July 11 2026
huggingface.co

Total runs: 179
Run Growth: 0
Growth Rate: 0.00%
Updated:September 17 2026
huggingface.co

Total runs: 80
Run Growth: 12
Growth Rate: 15.00%
Updated:January 30 2024
huggingface.co

Total runs: 5
Run Growth: 3
Growth Rate: 60.00%
Updated:December 16 2024
huggingface.co

Total runs: 5
Run Growth: 5
Growth Rate: 100.00%
Updated:December 07 2024
huggingface.co

Total runs: 4
Run Growth: 2
Growth Rate: 50.00%
Updated:December 16 2024
huggingface.co

Total runs: 4
Run Growth: 3
Growth Rate: 75.00%
Updated:December 17 2024
huggingface.co

Total runs: 4
Run Growth: 4
Growth Rate: 100.00%
Updated:September 09 2024
huggingface.co

Total runs: 2
Run Growth: 1
Growth Rate: 50.00%
Updated:December 18 2024
huggingface.co

Total runs: 2
Run Growth: 2
Growth Rate: 100.00%
Updated:November 28 2024
huggingface.co

Total runs: 0
Run Growth: -5
Growth Rate: 0.00%
Updated:November 28 2024
huggingface.co

Total runs: 0
Run Growth: -2
Growth Rate: 0.00%
Updated:November 28 2024
huggingface.co

Total runs: 0
Run Growth: -2
Growth Rate: 0.00%
Updated:December 06 2024