Compare commits

...

8 Commits

7 changed files with 11 additions and 10565 deletions

1
.gitignore vendored
View File

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

View File

@ -1,33 +0,0 @@
{
"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
}

View File

@ -1,8 +0,0 @@
#!/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')

View File

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

File diff suppressed because it is too large Load Diff

BIN
geval

Binary file not shown.

10
gonito.yaml Normal file
View File

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