huggingface / huggingface/doc-builder

Fix quotes

Open
#368 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Python
Stars
144
Forks
59
Avg merge
2d 5h
Merged PRs (30d)
13

Description

```
[vite-plugin-svelte] /tmp/tmpn5ql31ys/kit/src/routes/inference/classes/HfInference.mdx:1499:157 Unexpected character '“'
file: /tmp/tmpn5ql31ys/kit/src/routes/inference/classes/HfInference.mdx:1499:157
1497 | The inputs vary based on the model. For example when using sentence-transformers/paraphrase-xlm-r-multilingual-v1 the inputs will look like this: inputs: { “source_sentence”: “That is a happy person”, “sentences”: [“That is a happy dog”, “That is a very happy person”, “Today is a sunny day”] }
```

It doesn't like quotes there for some reason

CI: https://github.com/huggingface/huggingface.js/actions/runs/4742393502/jobs/8420611305

Source markdown:

```md

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `args` | `Object` | - |
| `args.inputs` | `Record`<`string`, `unknown`\> \| `Record`<`string`, `unknown`\>[] | The inputs vary based on the model. For example when using sentence-transformers/paraphrase-xlm-r-multilingual-v1 the inputs will look like this: inputs: { "source_sentence": "That is a happy person", "sentences": ["That is a happy dog", "That is a very happy person", "Today is a sunny day"] } |
| `args.model` | `string` | The model to use. Can be a full URL for HF inference endpoints. |
| `options?` | [`Options`](../interfaces/Options) | - |
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.