Skip to content

Commit

Permalink
schema change: only local blog posts (huggingface#1937)
Browse files Browse the repository at this point in the history
* schema change: only local blog posts

* trigger workflow

* unlink the `external:` blog posts

cc @yjernite @loubnabnl for info (sorry! hehe)
  • Loading branch information
julien-c authored Mar 25, 2024
1 parent e134507 commit 0d3bb79
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 61 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/validate-yaml.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,13 @@ on:
- "**/_*.yml"
- "schemas/_*.schema.yml"
- ".github/workflows/validate-yaml.yml"
- "scripts/validate-yaml.ts"
pull_request:
paths:
- "**/_*.yml"
- "schemas/_*.schema.yml"
- ".github/workflows/validate-yaml.yml"
- "scripts/validate-yaml.ts"

defaults:
run:
Expand Down
59 changes: 0 additions & 59 deletions _blog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,30 +18,6 @@
- guide
- nlp

- external: https://huggingface.co/zero-shot
title: "Zero Shot Topic Classification"
author: joeddav
date: May 29, 2020
tags:
- research
- nlp

- external: https://huggingface.co/calculator
title: "How Big Should My Language Model Be?"
author: teven
date: June 8, 2020
tags:
- research
- nlp

- external: https://yjernite.github.io/lfqa.html
title: "Long Form Question Answering with ELI5"
author: yjernite
date: June 17, 2020
tags:
- guide
- nlp

- local: reformer
title: "The Reformer - Pushing the limits of language modeling"
author: patrickvonplaten
Expand All @@ -60,14 +36,6 @@
- research
- nlp

- external: https://huggingface.co/rag
title: "Retrieval Augmented Generation (RAG)"
author: yjernite
date: September 28, 2020
tags:
- guide
- nlp

- local: encoder-decoder
title: "Transformer-based Encoder-Decoder Models"
author: patrickvonplaten
Expand Down Expand Up @@ -204,14 +172,6 @@
- research
- nlp

- external: https://huggingface.co/blog/how_many_data_points
title: "How many data points is a prompt worth?"
author: teven
date: April 5, 2021
tags:
- research
- nlp

- local: sagemaker-distributed-training-seq2seq
title: "Distributed Training: Train BART/T5 for Summarization using 🤗 Transformers and Amazon SageMaker"
author: philschmid
Expand Down Expand Up @@ -881,25 +841,6 @@
- diffusion
- stable-diffusion

- external: https://huggingface.co/spaces/loubnabnl/code-generation-models
title: "Code generation with Hugging Face"
author: loubnabnl
thumbnail: /blog/assets/79_code_generation_space/code_generation.png
date: June 8, 2022
tags:
- guide
- research
- nlp

- external: https://huggingface.co/spaces/sentence-transformers/Sentence_Transformers_for_semantic_search
title: "Using Sentence Transformers for semantic search"
author: espejelomar
thumbnail: /blog/assets/79_st_semantic_search/thumbnail.png
date: June 10, 2022
tags:
- nlp
- guide

- local: ml-director-insights-3
title: "Director of Machine Learning Insights [Part 3: Finance Edition]"
author: britneymuller
Expand Down
3 changes: 1 addition & 2 deletions scripts/validate-yaml.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@ for (const lang of ["", "zh/"]) {
console.log(`Validating ${relativePath}`);

z.array(z.object({
local: z.string().optional(),
external: z.string().optional(),
local: z.string(),
title: z.string(),
thumbnail: z.string().optional(),
author: z.string(),
Expand Down

0 comments on commit 0d3bb79

Please sign in to comment.