Everything is good to go for annotations.
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
"cells": [
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 7,
|
||||
"execution_count": 2,
|
||||
"id": "f3da59fb-eb6b-449f-b8d5-95ddacd456f2",
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
@@ -14,7 +14,7 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 8,
|
||||
"execution_count": 3,
|
||||
"id": "0c897ead-dfb5-4d18-bcfc-949824a0868f",
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
@@ -348,7 +348,7 @@
|
||||
],
|
||||
"metadata": {
|
||||
"kernelspec": {
|
||||
"display_name": "Python 3 (ipykernel)",
|
||||
"display_name": "reclass",
|
||||
"language": "python",
|
||||
"name": "python3"
|
||||
},
|
||||
@@ -362,7 +362,7 @@
|
||||
"name": "python",
|
||||
"nbconvert_exporter": "python",
|
||||
"pygments_lexer": "ipython3",
|
||||
"version": "3.14.0"
|
||||
"version": "3.14.2"
|
||||
}
|
||||
},
|
||||
"nbformat": 4,
|
||||
@@ -2,7 +2,7 @@
|
||||
"cells": [
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 11,
|
||||
"execution_count": 1,
|
||||
"id": "470fe7c6-1614-4daf-879f-e6c399117c7b",
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
@@ -13,12 +13,34 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 12,
|
||||
"execution_count": 2,
|
||||
"id": "afe1168c",
|
||||
"metadata": {},
|
||||
"outputs": [
|
||||
{
|
||||
"name": "stdout",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"cwd: /mnt/c/Users/ch/6013/multitag/notebooks\n",
|
||||
"exists data: False\n"
|
||||
]
|
||||
}
|
||||
],
|
||||
"source": [
|
||||
"import os\n",
|
||||
"print(\"cwd:\", os.getcwd())\n",
|
||||
"print(\"exists data:\", os.path.exists(\"mullitag\"))\n"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 3,
|
||||
"id": "b855045e-2dd1-4fa1-ab5a-8ce8b50b02ee",
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"df = pd.read_csv('data/uber_reviews.csv', low_memory=False)"
|
||||
"\n",
|
||||
"df = pd.read_csv('../data/uber_reviews.csv', low_memory=False)"
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -437,7 +459,7 @@
|
||||
],
|
||||
"metadata": {
|
||||
"kernelspec": {
|
||||
"display_name": "Python 3 (ipykernel)",
|
||||
"display_name": "reclass",
|
||||
"language": "python",
|
||||
"name": "python3"
|
||||
},
|
||||
@@ -451,7 +473,7 @@
|
||||
"name": "python",
|
||||
"nbconvert_exporter": "python",
|
||||
"pygments_lexer": "ipython3",
|
||||
"version": "3.14.0"
|
||||
"version": "3.14.2"
|
||||
}
|
||||
},
|
||||
"nbformat": 4,
|
||||
@@ -1,16 +0,0 @@
|
||||
{ pkgs ? import <nixpkgs> {} }:
|
||||
|
||||
pkgs.mkShell {
|
||||
buildInputs = with pkgs; [
|
||||
python313
|
||||
python313Packages.tkinter
|
||||
python313Packages.pandas
|
||||
python313Packages.numpy
|
||||
];
|
||||
|
||||
|
||||
shellHook = ''
|
||||
echo "Development environment loaded"
|
||||
echo "Python: $(python --version)"
|
||||
'';
|
||||
}
|
||||
0
multitag/src/infer.py
Normal file
0
multitag/src/infer.py
Normal file
@@ -1,3 +1,5 @@
|
||||
# preprocess.py
|
||||
|
||||
import pandas as pd
|
||||
import re
|
||||
from langdetect import detect, LangDetectException
|
||||
0
multitag/src/train.py
Normal file
0
multitag/src/train.py
Normal file
Reference in New Issue
Block a user