Aratako commited on
Commit
83ab3f6
·
verified ·
1 Parent(s): 579cc7a

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +93 -0
README.md CHANGED
@@ -13,6 +13,99 @@ model-index:
13
  <!-- This model card has been generated automatically according to the information the Trainer had access to. You
14
  should probably proofread and complete it, then remove this comment. -->
15
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
16
  [<img src="https://raw.githubusercontent.com/axolotl-ai-cloud/axolotl/main/image/axolotl-badge-web.png" alt="Built with Axolotl" width="200" height="32"/>](https://github.com/axolotl-ai-cloud/axolotl)
17
  <details><summary>See axolotl config</summary>
18
 
 
13
  <!-- This model card has been generated automatically according to the information the Trainer had access to. You
14
  should probably proofread and complete it, then remove this comment. -->
15
 
16
+ # sarashina2.1-1b-sft
17
+
18
+ [sbintuitions/sarashina2.1-1b](https://huggingface.co/sbintuitions/sarashina2.1-1b)を手元のデータでInstruction Tuningしたモデルです。
19
+
20
+ **Sarashina is licensed under the Sarashina Model NonCommercial License Agreement, Copyright ©SB Intuitions Corp. All Rights Reserved.**
21
+
22
+ This model is built with Qwen.
23
+
24
+ # 使い方
25
+
26
+ ```python
27
+ from transformers import AutoModelForCausalLM, AutoTokenizer, TextStreamer
28
+
29
+ model = AutoModelForCausalLM.from_pretrained("Aratako/sarashina2.1-1b-sft", device_map="auto", torch_dtype="auto")
30
+ tokenizer = AutoTokenizer.from_pretrained("Aratako/sarashina2.1-1b-sft")
31
+ streamer = TextStreamer(tokenizer, skip_prompt=True, skip_special_tokens=True)
32
+
33
+ messages = [
34
+ {"role": "user", "content": "ソフトバンク株式会社について教えてください。"}
35
+ ]
36
+
37
+
38
+ input_ids = tokenizer.apply_chat_template(messages, add_generation_prompt=True, return_tensors="pt").to(model.device)
39
+ output_ids = model.generate(input_ids,
40
+ max_new_tokens=1024,
41
+ do_sample=False,
42
+ streamer=streamer,
43
+ eos_token_id=tokenizer.eos_token_id,
44
+ )
45
+ ```
46
+
47
+ ```text
48
+ ソフトバンク株式会社は、日本の大手通信会社の一つで、主に携帯電話やインターネットサービス、そして様々なデジタル製品やサービスを提供しています。
49
+
50
+ 1. **事業内容**:
51
+ - 携帯電話事業: ソフトバンクモバイル(現・ソフトバンク)として、携帯電話やスマートフォンの販売を行っています。
52
+ - インターネットサービス: ソフトバンクBB(現・ソフトバンクBB)として、インターネット接続サービスやISP事業を行っています。
53
+ - デジタル製品: スマートフォンやタブレット、ウェアラブルデバイスなどの開発・販売も行っています。
54
+ - クラウドサービス: ソフトバンククラウドとして、クラウドサービスを提供しています。
55
+ - 金融サービス: ソフトバンクファイナンスとして、クレジットカードやローンなどの金融サービスを提供しています。
56
+
57
+ 2. **グループ会社**:
58
+ - ソフトバンクグループ: ソフトバンク株式会社の親会社であり、通信事業だけでなく、テクノロジー、メディア、金融など多岐にわたる事業を展開しています。
59
+ - ソフトバンクBB: インターネット接続サービスやISP事業を行う子会社です。
60
+ - ソフトバンクモバイル: 携帯電話事業を行う子会社です。
61
+ - ソフトバンクコマース&サービス: コマース事業を行う子会社です。
62
+ - ソフトバンクテクノロジー: ITソリューション事業を行う子会社です。
63
+
64
+ 3. **特徴**:
65
+ - ソフトバンクは、通信事業だけでなく、テクノロジーやメディア、金融など多岐にわたる分野で事業を展開しており、その規模と影響力は非常に大きいです。
66
+ - 「ソフトバンクグループ」として、通信事業だけでなく、テクノロジー、メディア、金融など多岐にわたる事業を展開しています。
67
+ - 「Pepper」などのロボット開発や、AI(人工知能)技術を活用したサービス開発にも力を入れています。
68
+
69
+ 4. **社会貢献活動**:
70
+ - ソフトバンクは、社会貢献活動にも積極的に取り組んでおり、教育支援や災害時の救援活動など、様々な形で社会に貢献しています。
71
+
72
+ ソフトバンクは、通信業界だけでなく、幅広い分野で革新的なサービスを提供し、日本の社会や経済に大きな影響を与えています。
73
+ ```
74
+
75
+ # 応答例
76
+
77
+ ## 入力([elyza/ELYZA-tasks-100](https://huggingface.co/datasets/elyza/ELYZA-tasks-100)より)
78
+
79
+ ```text
80
+ <|im_start|>user
81
+ 仕事の熱意を取り戻すためのアイデアを5つ挙げてください。<|im_end|>
82
+ <|im_start|>assistant
83
+ ```
84
+ ## 出力
85
+
86
+ ```text
87
+ もちろん、以下にいくつかのアイデアを提案します:
88
+
89
+ 1. 目標設定: 明確な目標を設定し、それを達成するための具体的なステップを計画します。これにより、仕事に対するモチベーションが高まります。
90
+
91
+ 2. 休憩を取る: 長時間働くと集中力が低下します。定期的に休憩を取り、リフレッシュすることが重要です。
92
+
93
+ 3. 新しいスキルを学ぶ: 新しい技術や知識を習得することで、自己成長を感じ、それが仕事への情熱を再び引き出すことができます。
94
+
95
+ 4. 健康的なライフスタイルを維持する: 適度な運動や十分な睡眠は���精神的な健康を維持し、エネルギーレベルを高めます。
96
+
97
+ 5. ネットワーキング: 同僚や他の専門家との交流を通じて新たな視点を得ることができます。これはあなたの視野を広げ、新たな機会を見つける手助けになります。
98
+ ```
99
+
100
+ # ライセンス
101
+
102
+ 元モデルから[Sarashina Model NonCommercial License Agreement](https://huggingface.co/sbintuitions/sarashina2.1-1B/blob/main/LICENSE)を継承します。利用にあたっては様々な制約があるので十分にご注意ください。
103
+
104
+ # 注意
105
+
106
+ - 本モデルの製作者は元モデルの製作者であるSB Intuitions株式会社とは一切関係ありません。本モデルに何か問題があった場合は製作者である私宛にご連絡ください。
107
+ - モデルの安全性は検証されていません。ご了承ください。
108
+
109
  [<img src="https://raw.githubusercontent.com/axolotl-ai-cloud/axolotl/main/image/axolotl-badge-web.png" alt="Built with Axolotl" width="200" height="32"/>](https://github.com/axolotl-ai-cloud/axolotl)
110
  <details><summary>See axolotl config</summary>
111