iiegn commited on
Commit
69286fb
·
verified ·
1 Parent(s): c479bce

Use uv run shebang

Browse files
tools/04_generate_parquet.py CHANGED
@@ -1,4 +1,13 @@
1
- #!/usr/bin/env python3
 
 
 
 
 
 
 
 
 
2
  """
3
  Generate Parquet files from Universal Dependencies CoNLL-U data.
4
 
 
1
+ #!/usr/bin/env -S uv run --script
2
+ #
3
+ # /// script
4
+ # requires-python = ">=3.12"
5
+ # dependencies = [
6
+ # "conllu",
7
+ # "datasets",
8
+ # "load-dotenv",
9
+ # ]
10
+ # ///
11
  """
12
  Generate Parquet files from Universal Dependencies CoNLL-U data.
13
 
tools/05_validate_parquet.py CHANGED
@@ -1,4 +1,12 @@
1
- #!/usr/bin/env python3
 
 
 
 
 
 
 
 
2
  """
3
  Validate Parquet files by comparing with original CoNLL-U data.
4
 
 
1
+ #!/usr/bin/env -S uv run --script
2
+ #
3
+ # /// script
4
+ # requires-python = ">=3.12"
5
+ # dependencies = [
6
+ # "datasets",
7
+ # "load-dotenv",
8
+ # ]
9
+ # ///
10
  """
11
  Validate Parquet files by comparing with original CoNLL-U data.
12