multilingual-absa / .gitattributes
Aryan Mishra
Deploy Gradio app to HF Spaces
2617189
Raw
History Blame Contribute Delete
1.49 kB
# .gitattributes - GitHub Linguist configuration for Multilingual-Absa
# Auto detect text files and perform LF normalization
* text=auto
# ==========================================
# EXCLUSIONS FROM LANGUAGE STATISTICS
# 1. Archived/Backup Dashboard Code
# If a legacy dashboard_backup directory is reintroduced, exclude generated assets.
dashboard_backup/** linguist-generated=true
# 2. IDE and Tooling Hooks
# The .opencode directory contains generated JS hooks for the workspace environment.
# These are internal tooling scripts and not part of the active application source code.
.opencode/** linguist-generated=true
# 3. Jupyter Notebooks
# Notebooks are used for exploration and training on Colab, but the core active
# application is the Python backend and FastAPI. Excluding these prevents notebooks
# from misrepresenting the primary languages.
notebooks/*.ipynb linguist-generated=true
# 4. Standard Build Artifacts & Vendored Dependencies
# Ensures that any inadvertently committed build artifacts or vendor libraries
# (like node_modules in subdirectories) do not skew language statistics.
dist/** linguist-generated=true
build/** linguist-generated=true
node_modules/** linguist-generated=true
**/node_modules/** linguist-generated=true
# Hugging Face Spaces LFS (model artifacts)
models/**/*.onnx filter=lfs diff=lfs merge=lfs -text
models/**/*.bin filter=lfs diff=lfs merge=lfs -text
*.ftz filter=lfs diff=lfs merge=lfs -text
*.arrow filter=lfs diff=lfs merge=lfs -text