Upload model
Browse files- README.md +2 -2
- config.json +1 -1
- model-00001-of-00002.safetensors +1 -1
- model-00002-of-00002.safetensors +1 -1
README.md
CHANGED
@@ -11,7 +11,7 @@ widget:
|
|
11 |
|
12 |
# 入力文
|
13 |
|
14 |
-
渡邉亮です。現在の住所は東京都世田谷区代沢1-2-3
|
15 |
|
16 |
'
|
17 |
inference:
|
@@ -68,7 +68,7 @@ def preprocess(text):
|
|
68 |
def postprocess(text):
|
69 |
return text.replace("<LB>", "\n")
|
70 |
|
71 |
-
input_text +=
|
72 |
input_text = preprocess(input_text)
|
73 |
|
74 |
with torch.no_grad():
|
|
|
11 |
|
12 |
# 入力文
|
13 |
|
14 |
+
渡邉亮です。現在の住所は東京都世田谷区代沢1-2-3です。</s>
|
15 |
|
16 |
'
|
17 |
inference:
|
|
|
68 |
def postprocess(text):
|
69 |
return text.replace("<LB>", "\n")
|
70 |
|
71 |
+
input_text += tokenizer.eos_token
|
72 |
input_text = preprocess(input_text)
|
73 |
|
74 |
with torch.no_grad():
|
config.json
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "/content/drive/Shareddrives/\u30ad\u30e3\u30e1\u30eb\u30c6\u30af\u30ce\u30ed\u30b7\u3099\u30fc\u5171\u6709\u30d5\u30a1\u30a4\u30eb/30_\u958b\u767a/LLM/privacy_masking_LLM/rinna/japanese-gpt-1b/model/
|
3 |
"activation_function": "gelu_fast",
|
4 |
"architectures": [
|
5 |
"GPT2LMHeadModel"
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "/content/drive/Shareddrives/\u30ad\u30e3\u30e1\u30eb\u30c6\u30af\u30ce\u30ed\u30b7\u3099\u30fc\u5171\u6709\u30d5\u30a1\u30a4\u30eb/30_\u958b\u767a/LLM/privacy_masking_LLM/rinna/japanese-gpt-1b/model/008-privacy-masking-v6",
|
3 |
"activation_function": "gelu_fast",
|
4 |
"architectures": [
|
5 |
"GPT2LMHeadModel"
|
model-00001-of-00002.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 4942311672
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:55a3852618b150c8a3e8846c1493984c51af878c9cbb45e7b5e161a32a646687
|
3 |
size 4942311672
|
model-00002-of-00002.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 268568192
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f9cd563ede33d510e4f9452b07a070c315aba273dd3084ad0c1bda2d31dcf941
|
3 |
size 268568192
|