justmalhar / reader-lm

Reader-LM is a series of models that convert HTML content to Markdown content

  • Public
  • 86 runs
  • T4
  • Weights
Iterate in playground

Input

*string
Shift + Return to add a new line

Backslashes aren't interpreted as an escape sequence. For example, "\n" is two characters, not a newline.

Input HTML text for the model to convert

number
(minimum: 0, maximum: 1)

Controls randomness. Lower values make the model more deterministic, higher values make it more random.

Default: 0.5

number
(minimum: 0, maximum: 1)

Controls diversity of the output. Lower values make the output more focused, higher values make it more diverse.

Default: 0.95

Output

Introduction ------------ Welcome to this in-depth guide on converting HTML to Markdown using the Reader LM tool. Whether you are a web developer, technical writer, or just someone who needs to quickly convert HTML content into Markdown, this tool will make your workflow much easier. > "The simplicity of Markdown meets the structure of HTML." Steps to Convert HTML to Markdown --------------------------------- 1. Enter your HTML code into the provided text area. 2. Click the "Convert to Markdown" button to perform the conversion. 3. Review the converted Markdown in the output section below the form. Examples of HTML to Markdown Conversion ---------------------------------------- ### Example 1: Simple HTML Paragraph The following HTML code: ``` <p>This is a paragraph.</p> ``` Will be converted to this Markdown: ``` This is a paragraph. ``` ### Example 2: HTML List Conversion The following HTML code: ``` <ul> <li>Item 1</li> <li>Item 2</li> <li>Item 3</li> </ul> ``` Will be converted to this Markdown: ``` - Item 1 - Item 2 - Item 3 ``` ### Form for Testing Your Own HTML Below, you can test your own HTML to see the conversion results in real-time. HTML to Markdown Converter -------------------------- Enter your HTML code: Convert to Markdown Converted Markdown Output ------------------------- Conclusion ---------- Converting HTML to Markdown has never been easier! With the above examples and steps, you can seamlessly transform your HTML content into the lightweight, easy-to-read Markdown format. * HTML is powerful for structuring web pages, but Markdown is preferred for documentation. * Markdown provides a simpler, more human-readable format. Give the tool a try, and simplify your documentation workflow today!
Generated in

This output was created using a different version of the model, justmalhar/reader-lm:380e1749.

Run time and cost

This model runs on Nvidia T4 GPU hardware. We don't yet have enough runs of this model to provide performance information.

Readme

Jina Reader-LM is a series of models that convert HTML content to Markdown content, which is useful for content conversion tasks. The model is trained on a curated collection of HTML content and its corresponding Markdown content.

Models

Name Context Length Download
reader-lm-0.5b 256K 🤗 Hugging Face
reader-lm-1.5b 256K 🤗 Hugging Face