Skip to content

Commit cdb41f6

Browse files
author
Mishig
authored
Merge pull request #22 from huggingface/check_filenames_lowercase
Check notebooks are lowercase
2 parents 6267b22 + 03dfc3e commit cdb41f6

8 files changed

+34
-10
lines changed
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Check notebook names are lowercase
2+
3+
on: [push]
4+
5+
jobs:
6+
check-lowercase:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- name: Checkout code
10+
uses: actions/checkout@v2
11+
12+
- name: Check filenames in 'notebooks/'
13+
run: |
14+
# Change to the directory where you want to check filenames
15+
cd notebooks
16+
# Find files with uppercase characters in their names
17+
files=$(find . -type f | grep '[A-Z]' || true)
18+
if [ -n "$files" ]; then
19+
echo "The following files are not lowercase:"
20+
echo "$files"
21+
exit 1
22+
else
23+
echo "All filenames are lowercase."
24+
fi

notebooks/en/_toctree.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22
sections:
33
- local: index
44
title: Open-Source AI Cookbook
5-
- local: FAISS_with_HF_datasets_and_CLIP
5+
- local: faiss_with_hf_datasets_and_clip
66
title: Embedding multimodal data for similarity search
7-
- local: Fine_tuning_Code_LLM_on_single_GPU
7+
- local: fine_tuning_code_llm_on_single_gpu
88
title: Fine-tuning a Code LLM on Custom Code on a single GPU
9-
- local: RAG_zephyr_langchain
9+
- local: rag_zephyr_langchain
1010
title: Simple RAG using Hugging Face Zephyr and LangChain
11-
- local: advanced_RAG
11+
- local: advanced_rag
1212
title: Advanced RAG on HuggingFace documentation using LangChain
13-
- local: RAG_evaluation
13+
- local: rag_evaluation
1414
title: RAG Evaluation
File renamed without changes.

notebooks/en/index.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ applications and solving various machine learning tasks using open-source tools
77

88
Check out the recently added notebooks:
99

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

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

File renamed without changes.

0 commit comments

Comments
 (0)