Download pg/eval_chunks.sql from p4ulbr4dl3y/ocrrag-deep-env: direct link, hf CLI and curl.
- Browser
- Download file 2.12 kB
-
https://huggingface.co/datasets/p4ulbr4dl3y/ocrrag-deep-env/resolve/main/pg/eval_chunks.sql
- Command line
-
hf download hf://datasets/p4ulbr4dl3y/ocrrag-deep-env/pg/eval_chunks.sql
-
curl -L -o eval_chunks.sql https://huggingface.co/datasets/p4ulbr4dl3y/ocrrag-deep-env/resolve/main/pg/eval_chunks.sql
2.12 kB
| -- | |
| -- PostgreSQL database dump | |
| -- | |
| \restrict VpAWuaVPoLiLrNQcJ3fhrE1M2pK0GloNxwyAfeczKKR0Xk2RaVSJxkkp9kKHBTI | |
| -- Dumped from database version 17.11 (Debian 17.11-1.pgdg12+2) | |
| -- Dumped by pg_dump version 17.11 (Debian 17.11-1.pgdg12+2) | |
| SET statement_timeout = 0; | |
| SET lock_timeout = 0; | |
| SET idle_in_transaction_session_timeout = 0; | |
| SET transaction_timeout = 0; | |
| SET client_encoding = 'UTF8'; | |
| SET standard_conforming_strings = on; | |
| SELECT pg_catalog.set_config('search_path', '', false); | |
| SET check_function_bodies = false; | |
| SET xmloption = content; | |
| SET client_min_messages = warning; | |
| SET row_security = off; | |
| SET default_tablespace = ''; | |
| SET default_table_access_method = heap; | |
| -- | |
| -- Name: eval_chunks; Type: TABLE; Schema: public; Owner: ocrrag | |
| -- | |
| CREATE TABLE public.eval_chunks ( | |
| ns text NOT NULL, | |
| chunk_id text NOT NULL, | |
| document_id text NOT NULL, | |
| text text NOT NULL, | |
| page_from integer NOT NULL, | |
| page_to integer NOT NULL, | |
| order_idx integer NOT NULL, | |
| block_ids text[] DEFAULT '{}'::text[] NOT NULL, | |
| attrs jsonb DEFAULT '{}'::jsonb NOT NULL, | |
| embedding public.vector(1024) NOT NULL, | |
| tsv tsvector NOT NULL, | |
| doc_len integer DEFAULT '-1'::integer NOT NULL | |
| ); | |
| ALTER TABLE public.eval_chunks OWNER TO ocrrag; | |
| -- | |
| -- Name: eval_chunks eval_chunks_pkey; Type: CONSTRAINT; Schema: public; Owner: ocrrag | |
| -- | |
| ALTER TABLE ONLY public.eval_chunks | |
| ADD CONSTRAINT eval_chunks_pkey PRIMARY KEY (ns, chunk_id); | |
| -- | |
| -- Name: eval_chunks_embedding_hnsw_idx; Type: INDEX; Schema: public; Owner: ocrrag | |
| -- | |
| CREATE INDEX eval_chunks_embedding_hnsw_idx ON public.eval_chunks USING hnsw (embedding public.vector_cosine_ops); | |
| -- | |
| -- Name: eval_chunks_ns_document_idx; Type: INDEX; Schema: public; Owner: ocrrag | |
| -- | |
| CREATE INDEX eval_chunks_ns_document_idx ON public.eval_chunks USING btree (ns, document_id); | |
| -- | |
| -- Name: eval_chunks_tsv_gin_idx; Type: INDEX; Schema: public; Owner: ocrrag | |
| -- | |
| CREATE INDEX eval_chunks_tsv_gin_idx ON public.eval_chunks USING gin (tsv); | |
| -- | |
| -- PostgreSQL database dump complete | |
| -- | |
| \unrestrict VpAWuaVPoLiLrNQcJ3fhrE1M2pK0GloNxwyAfeczKKR0Xk2RaVSJxkkp9kKHBTI | |