all AI news
[R] From Sparse to Dense : GPT-4 Summarization with Chain of Density Prompting
Sept. 20, 2023, 10:24 a.m. | /u/Fluid-Age-9266
Machine Learning www.reddit.com
Edit : the library used is `py-llm-core`
```python
from typing import List
from dataclasses import dataclass
from llm_core.assistants import OpenAIAssistant
@dataclass
class DenseSummary:
denser_summary: str
missing_entities: List[str]
@dataclass
class DenserSummaryCollection:
system_prompt = """
You are an expert in writing rich and dense summaries in broad domains.
"""
prompt = """
Article:
{article}
----
You will generate …
assistants core edit example gpt gpt-4 import library list llm machinelearning paper prompting python summarization typing
More from www.reddit.com / Machine Learning
[D] Real chances to be accepted in NeurIPS 2024 - Other conferences
1 day, 11 hours ago |
www.reddit.com
[D] Are PyTorch high-level frameworks worth using?
1 day, 14 hours ago |
www.reddit.com
Jobs in AI, ML, Big Data
Software Engineer for AI Training Data (School Specific)
@ G2i Inc | Remote
Software Engineer for AI Training Data (Python)
@ G2i Inc | Remote
Software Engineer for AI Training Data (Tier 2)
@ G2i Inc | Remote
Data Engineer
@ Lemon.io | Remote: Europe, LATAM, Canada, UK, Asia, Oceania
Artificial Intelligence – Bioinformatic Expert
@ University of Texas Medical Branch | Galveston, TX
Lead Developer (AI)
@ Cere Network | San Francisco, US