Spaces:
Runtime error
Runtime error
gamingflexer
commited on
Commit
·
cc93c45
1
Parent(s):
8d58e30
Documentation Updated
Browse files
README.md
CHANGED
|
@@ -10,33 +10,71 @@ pinned: true
|
|
| 10 |
|
| 11 |
# Arxiv Plagiarism Checker LLM
|
| 12 |
|
| 13 |
-
##
|
| 14 |
|
| 15 |
-
|
| 16 |
|
|
|
|
| 17 |
|
| 18 |
Arxiv author's plagiarism check just by entering the arxiv author
|
| 19 |
|
| 20 |
-
##
|
| 21 |
|
| 22 |
-
|
|
|
|
| 23 |
|
|
|
|
| 24 |
|
| 25 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 26 |
|
| 27 |
-
- Miro RoadMap [Link](https://miro.com/app/board/uXjVN8HgXk8=/)
|
| 28 |
|
| 29 |
### Research Points
|
| 30 |
|
|
|
|
| 31 |
- Notion [Link](https://gamingflexer.notion.site/Arxiv-983d173f46c1426caa9dab319f4ddb3d?pvs=4)
|
| 32 |
|
| 33 |
### Top Plagiarism Checkers API
|
| 34 |
|
| 35 |
- **[ProWritingAid API V2](https://cloud.prowritingaid.com/analysis/swagger/ui/index) - Free Plan**
|
| 36 |
- **[Unicheck](https://unicheck.com/plagiarism-checker-api) - Request Demo**
|
| 37 |
-
- **Copyleaks
|
| 38 |
-
- EDEN AI
|
| 39 |
-
|
| 40 |
----
|
| 41 |
|
| 42 |
## Requirements
|
|
@@ -48,11 +86,13 @@ Arxiv author's plagiarism check just by entering the arxiv author
|
|
| 48 |
## Installation
|
| 49 |
|
| 50 |
```bash
|
| 51 |
-
|
| 52 |
```
|
| 53 |
|
| 54 |
## Usage
|
| 55 |
|
| 56 |
-
|
| 57 |
|
|
|
|
|
|
|
| 58 |
```
|
|
|
|
| 10 |
|
| 11 |
# Arxiv Plagiarism Checker LLM
|
| 12 |
|
| 13 |
+
## Demo Link
|
| 14 |
|
| 15 |
+

|
| 16 |
|
| 17 |
+
[](https://github.com/gamingflexer/arxiv-plagiarism-checker-llm/actions/workflows/main.yml)
|
| 18 |
|
| 19 |
Arxiv author's plagiarism check just by entering the arxiv author
|
| 20 |
|
| 21 |
+
## Docs & Working
|
| 22 |
|
| 23 |
+
INPUT - Authors Name
|
| 24 |
+
OUTPUT - Plagiarism Check Results
|
| 25 |
|
| 26 |
+
### Tech Stack
|
| 27 |
|
| 28 |
+
- Gradio
|
| 29 |
+
- ChromaDB
|
| 30 |
+
- SERP API
|
| 31 |
+
- OpenAI GPT Embeddings & LLM Models
|
| 32 |
+
|
| 33 |
+
1. We have collected the data from arxiv GCP cloud for the year of 2023 & 2024 and then we have used the text-embedding-3-large to generate the embeddings for the documents. This amount to about 10GB.
|
| 34 |
+
|
| 35 |
+
2. Document Text Extraction is done in 2 formats with metdata
|
| 36 |
+
|
| 37 |
+
- Document Level
|
| 38 |
+
- Paragraph Level
|
| 39 |
+
- MetaData
|
| 40 |
+
|
| 41 |
+
Meta data example
|
| 42 |
+
|
| 43 |
+
```json
|
| 44 |
+
{
|
| 45 |
+
"id": "2106.09680",
|
| 46 |
+
"title": "Accuracy, Interpretability, and Differential Privacy via Explainable Boosting",
|
| 47 |
+
"summary": "We show that adding differential privacy to Explainable Boosting Machines\n(EBMs), a recent method for training interpretable ML models, yields\nstate-of-the-art accuracy while protecting privacy. Our experiments on multiple\nclassification and regression datasets show that DP-EBM models suffer\nsurprisingly little accuracy loss even with strong differential privacy\nguarantees. In addition to high accuracy, two other benefits of applying DP to\nEBMs are: a) trained models provide exact global and local interpretability,\nwhich is often important in settings where differential privacy is needed; and\nb) the models can be edited after training without loss of privacy to correct\nerrors which DP noise may have introduced.",
|
| 48 |
+
"source": "http://arxiv.org/pdf/2106.09680",
|
| 49 |
+
"authors": "Harsha Nori Rich Caruana Zhiqi Bu Judy Hanwen Shen Janardhan Kulkarni",
|
| 50 |
+
"references": ""
|
| 51 |
+
}
|
| 52 |
+
```
|
| 53 |
+
3. Embeddings are generated for the documents and paragraphs using OpenAI Models
|
| 54 |
+
|
| 55 |
+
4. Authors are then searched on the Google SERP API and the documents (Top 10) are then compared individually with the embeddings of the documents.
|
| 56 |
+
|
| 57 |
+
5. Retreived documents & Top 3 simialar papers from Google SERP API on the topic
|
| 58 |
+
- Metadata and text is extracted
|
| 59 |
+
|
| 60 |
+
6. Once Extracted Unique Lines and Paragraphs are extracted and then compared by using LLM - GPT 4 Preview Model - 128K
|
| 61 |
+
|
| 62 |
+
7. Unique Lines are then compared with the document embeddings and the paragraphs are compared with the paragraph embeddings.
|
| 63 |
+
|
| 64 |
+
8. Top 3 Similar Text and respective documents are then returned to the user as Plagiarised Content.
|
| 65 |
|
|
|
|
| 66 |
|
| 67 |
### Research Points
|
| 68 |
|
| 69 |
+
- Miro RoadMap [Link](https://miro.com/app/board/uXjVN8HgXk8=/)
|
| 70 |
- Notion [Link](https://gamingflexer.notion.site/Arxiv-983d173f46c1426caa9dab319f4ddb3d?pvs=4)
|
| 71 |
|
| 72 |
### Top Plagiarism Checkers API
|
| 73 |
|
| 74 |
- **[ProWritingAid API V2](https://cloud.prowritingaid.com/analysis/swagger/ui/index) - Free Plan**
|
| 75 |
- **[Unicheck](https://unicheck.com/plagiarism-checker-api) - Request Demo**
|
| 76 |
+
- **[Copyleaks]() - Request Demo**
|
| 77 |
+
- **[EDEN AI](https://www.edenai.co/feature/plagiarism-detection) - Free Plan**
|
|
|
|
| 78 |
----
|
| 79 |
|
| 80 |
## Requirements
|
|
|
|
| 86 |
## Installation
|
| 87 |
|
| 88 |
```bash
|
| 89 |
+
pip install -r requirements.txt
|
| 90 |
```
|
| 91 |
|
| 92 |
## Usage
|
| 93 |
|
| 94 |
+
We are using a gradio app to implement the plagiarism checker
|
| 95 |
|
| 96 |
+
```python
|
| 97 |
+
python app.py or gradio app.py
|
| 98 |
```
|
docs.md
CHANGED
|
@@ -1,3 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
### 1. Data Input:
|
| 2 |
|
| 3 |
- **Input Data:** Collect a diverse dataset of academic papers, articles, or textual content from various sources.
|
|
@@ -78,3 +96,5 @@
|
|
| 78 |
- **Large Language Models:**
|
| 79 |
- Fine-tune or use pre-trained models for enhanced context understanding.
|
| 80 |
- Hugging Face Transformers library for accessing pre-trained models.
|
|
|
|
|
|
|
|
|
| 1 |
+
- 2024_main_document_lvl
|
| 2 |
+
- 2024_main_paragraph_lvl
|
| 3 |
+
|
| 4 |
+
- 2023_main_document_lvl
|
| 5 |
+
- 2023_main_paragraph_lvl
|
| 6 |
+
|
| 7 |
+
- Embeddings convert pdfs
|
| 8 |
+
- Para
|
| 9 |
+
- Docs
|
| 10 |
+
- HNSW - Kmeans fast searcddh
|
| 11 |
+
- K means graphs based on the topics
|
| 12 |
+
- Check for similarity between our own db
|
| 13 |
+
- Para
|
| 14 |
+
- Docs
|
| 15 |
+
- Get The most important Ones
|
| 16 |
+
- Get the Unquine sentances like title & other content ?? - LLM think karun karel
|
| 17 |
+
- Search Google using the unquine searches --> get the top 3 and do the same check again --> result
|
| 18 |
+
|
| 19 |
### 1. Data Input:
|
| 20 |
|
| 21 |
- **Input Data:** Collect a diverse dataset of academic papers, articles, or textual content from various sources.
|
|
|
|
| 96 |
- **Large Language Models:**
|
| 97 |
- Fine-tune or use pre-trained models for enhanced context understanding.
|
| 98 |
- Hugging Face Transformers library for accessing pre-trained models.
|
| 99 |
+
|
| 100 |
+
- Fingerprinting Concept
|