{"id":23114627,"url":"https://github.com/prithivsakthiur/grab-doc","last_synced_at":"2026-01-28T00:07:32.437Z","repository":{"id":254592574,"uuid":"846996859","full_name":"PRITHIVSAKTHIUR/Grab-Doc","owner":"PRITHIVSAKTHIUR","description":"Chat Response Documentation","archived":false,"fork":false,"pushed_at":"2024-08-24T15:49:41.000Z","size":5244,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-17T03:33:51.731Z","etag":null,"topics":["documentation-tool","docx-generator","fpdf","gradio","hugging-face","huggingface-hub","mistral-7b","pdf-generation","python-docx","text-mining","txt-files"],"latest_commit_sha":null,"homepage":"https://huggingface.co/spaces/prithivMLmods/GRAB-DOCv","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/PRITHIVSAKTHIUR.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-08-24T14:54:53.000Z","updated_at":"2024-11-08T07:43:22.000Z","dependencies_parsed_at":"2024-08-24T16:22:41.462Z","dependency_job_id":"d0914e55-020a-41df-a83b-3c4ad05bd4be","html_url":"https://github.com/PRITHIVSAKTHIUR/Grab-Doc","commit_stats":null,"previous_names":["prithivsakthiur/grab-doc"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PRITHIVSAKTHIUR%2FGrab-Doc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PRITHIVSAKTHIUR%2FGrab-Doc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PRITHIVSAKTHIUR%2FGrab-Doc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PRITHIVSAKTHIUR%2FGrab-Doc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PRITHIVSAKTHIUR","download_url":"https://codeload.github.com/PRITHIVSAKTHIUR/Grab-Doc/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":237951354,"owners_count":19392677,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["documentation-tool","docx-generator","fpdf","gradio","hugging-face","huggingface-hub","mistral-7b","pdf-generation","python-docx","text-mining","txt-files"],"created_at":"2024-12-17T03:33:55.457Z","updated_at":"2025-10-24T10:31:15.595Z","avatar_url":"https://github.com/PRITHIVSAKTHIUR.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"---\r\ntitle: GRAB DOC\r\nemoji: 👨🏻‍🚀\r\ncolorFrom: blue\r\ncolorTo: green\r\nsdk: gradio\r\nsdk_version: 4.41.0\r\napp_file: app.py\r\npinned: false\r\nlicense: creativeml-openrail-m\r\nshort_description: pdf, docx, txt\r\n---\r\n\r\nCheck out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference\r\n\r\n## Model Details\r\n\r\n| Model Identifier              | Description                                     | Version |\r\n|-------------------------------|-------------------------------------------------|---------|\r\n| `mistralai/Mistral-7B-Instruct-v0.3` | A large language model fine-tuned for instruction-based tasks. | 0.3     |\r\n\r\n\r\n![alt text](assets/AAD.png)\r\n\r\n## HTTPS\r\n\r\n    Make sure you have git-lfs installed (https://git-lfs.com)\r\n    \r\n    git lfs install\r\n    \r\n    git clone https://huggingface.co/spaces/prithivMLmods/GRAB-DOC\r\n    \r\n    If you want to clone without large files - just their pointers\r\n    \r\n    GIT_LFS_SKIP_SMUDGE=1 git clone https://huggingface.co/spaces/prithivMLmods/GRAB\r\n\r\n## SSH\r\n\r\n    Make sure you have git-lfs installed (https://git-lfs.com)\r\n    \r\n    git lfs install\r\n    \r\n    git clone git@hf.co:spaces/prithivMLmods/GRAB-DOC\r\n    \r\n    If you want to clone without large files - just their pointers\r\n    \r\n    GIT_LFS_SKIP_SMUDGE=1 git clone git@hf.co:spaces/prithivMLmods/GRAB-DOC\r\n    \r\n## Inference-Client\r\n\r\n```python\r\nclient = InferenceClient(\"mistralai/Mistral-7B-Instruct-v0.3\")\r\n\r\ndef format_prompt(message, history, system_prompt=None):\r\n    prompt = \"\u003cs\u003e\"\r\n    for user_prompt, bot_response in history:\r\n        prompt += f\"[INST] {user_prompt} [/INST]\"\r\n        prompt += f\" {bot_response}\u003c/s\u003e \"\r\n    if system_prompt:\r\n        prompt += f\"[SYS] {system_prompt} [/SYS]\"\r\n    prompt += f\"[INST] {message} [/INST]\"\r\n    return prompt\r\n```\r\n\r\n## DEMO GIF\r\n\r\n![alt text](assets/GD.gif)\r\n\r\n## Dependencies\r\n\r\n| Package            | Version     | Description                                         |\r\n|--------------------|-------------|-----------------------------------------------------|\r\n| `gradio`           | Latest      | A library for building machine learning demos and applications. |\r\n| `fpdf`             | Latest      | A Python class for generating PDF documents.       |\r\n| `python-docx`      | Latest      | A library for creating and updating Microsoft Word (.docx) files. |\r\n| `huggingface-hub`  | 0.24.6      | A library for interacting with the Hugging Face Hub to manage and share machine learning models and datasets. |\r\n\r\n.\r\n\r\n.\r\n\r\n.@prithivmlmods\r\n\r\n### **Try It Out!**\r\n| Hugging Face | [prithivMLmods](https://huggingface.co/prithivMLmods) |\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprithivsakthiur%2Fgrab-doc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprithivsakthiur%2Fgrab-doc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprithivsakthiur%2Fgrab-doc/lists"}