Compare commits

..

No commits in common. "master" and "406c59f6009b0be16bd6af6b63c9ffa8c2e8d10f" have entirely different histories.

7 changed files with 10565 additions and 11 deletions

1
.gitignore vendored
View File

@ -6,4 +6,3 @@
*.o *.o
.DS_Store .DS_Store
.token .token
geval

33
dev-0/Untitled.ipynb Normal file
View File

@ -0,0 +1,33 @@
{
"cells": [
{
"cell_type": "code",
"execution_count": null,
"id": "eeb9b3c7",
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {
"kernelspec": {
"display_name": "Python 3 (ipykernel)",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.9.13"
}
},
"nbformat": 4,
"nbformat_minor": 5
}

8
dev-0/lm0.py Normal file
View File

@ -0,0 +1,8 @@
#!/usr/bin/python3
import sys
for line in sys.stdin:
if "United" in line:
print('States:0.9 :0.1')
else:
print('the:0.6 a:0.3 :0.1')

5
dev-0/lm1.py Normal file
View File

@ -0,0 +1,5 @@
#!/usr/bin/python3
import sys
for line in sys.stdin:
line = line.split('\t')[6].split(' ')[-1]
print(line)

10519
dev-0/out.tsv Normal file

File diff suppressed because it is too large Load Diff

BIN
geval Executable file

Binary file not shown.

View File

@ -1,10 +0,0 @@
description: trigram model
tags:
- neural-network
- trigram
params:
epochs: 1
learning-rate: 0.0001
vocab_size: 40000
embed_size: 300
hidden_size: 256