Skip to content

Commit

Permalink
Merge pull request #22 from huggingface/check_filenames_lowercase
Browse files Browse the repository at this point in the history
Check notebooks are lowercase
  • Loading branch information
Mishig authored Feb 15, 2024
2 parents 6267b22 + 03dfc3e commit cdb41f6
Show file tree
Hide file tree
Showing 8 changed files with 34 additions and 10 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/check_notebooks_lowercase.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Check notebook names are lowercase

on: [push]

jobs:
check-lowercase:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Check filenames in 'notebooks/'
run: |
# Change to the directory where you want to check filenames
cd notebooks
# Find files with uppercase characters in their names
files=$(find . -type f | grep '[A-Z]' || true)
if [ -n "$files" ]; then
echo "The following files are not lowercase:"
echo "$files"
exit 1
else
echo "All filenames are lowercase."
fi
10 changes: 5 additions & 5 deletions notebooks/en/_toctree.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
sections:
- local: index
title: Open-Source AI Cookbook
- local: FAISS_with_HF_datasets_and_CLIP
- local: faiss_with_hf_datasets_and_clip
title: Embedding multimodal data for similarity search
- local: Fine_tuning_Code_LLM_on_single_GPU
- local: fine_tuning_code_llm_on_single_gpu
title: Fine-tuning a Code LLM on Custom Code on a single GPU
- local: RAG_zephyr_langchain
- local: rag_zephyr_langchain
title: Simple RAG using Hugging Face Zephyr and LangChain
- local: advanced_RAG
- local: advanced_rag
title: Advanced RAG on HuggingFace documentation using LangChain
- local: RAG_evaluation
- local: rag_evaluation
title: RAG Evaluation
File renamed without changes.
10 changes: 5 additions & 5 deletions notebooks/en/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ applications and solving various machine learning tasks using open-source tools

Check out the recently added notebooks:

- [Simple RAG for GitHub issues using Hugging Face Zephyr and LangChain](RAG_zephyr_langchain)
- [Embedding multimodal data for similarity search using πŸ€— transformers, πŸ€— datasets and FAISS](FAISS_with_HF_datasets_and_CLIP)
- [Fine-tuning a Code LLM on Custom Code on a single GPU](Fine_tuning_Code_LLM_on_single_GPU)
- [RAG Evaluation Using Synthetic data and LLM-As-A-Judge](RAG_evaluation)
- [Advanced RAG on HuggingFace documentation using LangChain](advanced_RAG)
- [Simple RAG for GitHub issues using Hugging Face Zephyr and LangChain](rag_zephyr_langchain)
- [Embedding multimodal data for similarity search using πŸ€— transformers, πŸ€— datasets and FAISS](faiss_with_hf_datasets_and_clip)
- [Fine-tuning a Code LLM on Custom Code on a single GPU](fine_tuning_code_llm_on_single_gpu)
- [RAG Evaluation Using Synthetic data and LLM-As-A-Judge](rag_evaluation)
- [Advanced RAG on HuggingFace documentation using LangChain](advanced_rag)

You can also check out the notebooks in the cookbook's [GitHub repo](https://github.com/huggingface/cookbook).

Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit cdb41f6

Please sign in to comment.