en-ner-conll-2003/Transformer.ipynb

1.3 KiB

Transformer

Import bibliotek

import pandas as pd

Wczytanie danych

train_data = pd.read_csv("train/train.tsv", sep="\t", header=None, names=["y", "x"])
test_A_data = pd.read_csv("test-A/in.tsv", sep="\t", header=None, names=["x"])
dev0_data = pd.read_csv("dev-0/in.tsv", sep="\t", header=None, names=["x"])