iiegn Claude Sonnet 4.5 commited on
Commit
2379255
·
verified ·
1 Parent(s): 654f2d6

Update version guide: add validation step and git-lfs upload method

Browse files

- Added step 13: Validate Parquet files before upload
- Updated step 14: Document git-lfs upload method (used for 2.17)
- Renumbered remaining steps

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>

Files changed (1) hide show
  1. ADDING_NEW_UD_VERSION.md +25 -3
ADDING_NEW_UD_VERSION.md CHANGED
@@ -242,10 +242,32 @@ git push origin 2.18
242
  git push origin --tags
243
  ```
244
 
245
- ### 13. Upload to HuggingFace Hub
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
246
 
247
  ```bash
248
  # Upload Parquet files to HuggingFace (this may take several hours)
 
 
 
 
 
 
249
  huggingface-cli upload commul/universal_dependencies ./parquet --repo-type dataset --revision 2.18
250
 
251
  # Upload main files
@@ -259,7 +281,7 @@ huggingface-cli upload commul/universal_dependencies ./metadata.json --repo-type
259
 
260
  **Expected upload time:** 2-6 hours depending on network speed and HuggingFace server load.
261
 
262
- ### 14. Verify on HuggingFace Hub
263
 
264
  Visit: https://huggingface.co/datasets/commul/universal_dependencies
265
 
@@ -279,7 +301,7 @@ Visit: https://huggingface.co/datasets/commul/universal_dependencies
279
  print(ds)
280
  ```
281
 
282
- ### 15. Update Dataset Card (Optional)
283
 
284
  If this is now the latest version, you may want to update the dataset card to mention it:
285
 
 
242
  git push origin --tags
243
  ```
244
 
245
+ ### 13. Validate Parquet Files
246
+
247
+ ```bash
248
+ # Test validation on 3 treebanks first
249
+ python 05_validate_parquet.py --test
250
+
251
+ # If successful, validate all treebanks (optional, takes ~30-60 minutes)
252
+ python 05_validate_parquet.py
253
+
254
+ # This validates:
255
+ # - Data loads correctly from HuggingFace Hub
256
+ # - All fields round-trip correctly
257
+ # - MWT information is preserved
258
+ # - Token sequences exclude MWT forms (v2.0 bug fix)
259
+ ```
260
+
261
+ ### 14. Upload to HuggingFace Hub
262
 
263
  ```bash
264
  # Upload Parquet files to HuggingFace (this may take several hours)
265
+ # Note: If using git-lfs, commit and push instead:
266
+ git add parquet/
267
+ git commit -m "Add Parquet files for all treebanks"
268
+ git push origin 2.18
269
+
270
+ # Alternative: Use huggingface-cli (if not using git-lfs)
271
  huggingface-cli upload commul/universal_dependencies ./parquet --repo-type dataset --revision 2.18
272
 
273
  # Upload main files
 
281
 
282
  **Expected upload time:** 2-6 hours depending on network speed and HuggingFace server load.
283
 
284
+ ### 15. Verify on HuggingFace Hub
285
 
286
  Visit: https://huggingface.co/datasets/commul/universal_dependencies
287
 
 
301
  print(ds)
302
  ```
303
 
304
+ ### 16. Update Dataset Card (Optional)
305
 
306
  If this is now the latest version, you may want to update the dataset card to mention it:
307